Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPMetrics returns empty report #365

Closed
DanielGwalter1999 opened this issue Aug 12, 2018 · 1 comment
Closed

PHPMetrics returns empty report #365

DanielGwalter1999 opened this issue Aug 12, 2018 · 1 comment
Assignees

Comments

@DanielGwalter1999
Copy link

Hi,

I've installed PhpMetrics with composer in a windows 10 environment

When I run this command:

phpmetrics --report-html=c:\PHP\Calc\report c:\PHP\Calc

c:\PHP\Calc contains a calcengine script used as a json service providor.

I get this output:

script runs but returns 0 and NAN in the script output then produces an empty report with composer.json not found
@niconoe-
Copy link
Contributor

Hi @DanielGwalter1999 ,

Could you please try it with the new version of PhpMetrics?

Also, does your project contains OOP objects like namespaces, packages and classes? If not, you won't have any results with PhpMetrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants