Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.55ms] Passed 4 tests
Analyzing server-side resources used by WordPress Symfony VarDumper
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.12 ▲2.13 |
Dashboard /wp-admin | 3.35 ▲0.01 | 46.57 ▼11.31 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.04 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 99.36 ▲0.80 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 34.52 ▲2.32 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WordPress Symfony VarDumper: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.18 | 1.74 ▼0.06 | 45.89 ▲1.69 |
Dashboard /wp-admin | 2,206 ▲15 | 5.82 ▲0.94 | 103.37 ▼13.82 | 38.62 ▼8.21 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▼0.02 | 36.34 ▼3.92 | 32.71 ▼5.14 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.15 ▼5.15 | 623.33 ▼17.88 | 49.81 ▼17.16 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.28 ▲0.13 | 100.46 ▼0.94 | 42.41 ▼0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php:20
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Cloner\\Stub' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Caster/ConstStub.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Dumper/AbstractDumper.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Dumper\\CliDumper' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Dumper/HtmlDumper.php:22
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Cloner\\ClonerInterface' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Cloner/AbstractCloner.php:21
- > PHP Fatal error
Uncaught Error: Class 'PhpSpec\\ObjectBehavior' not found in wp-content/plugins/symfony-vardumper/vendor/wpupdatephp/wp-update-php/spec/WPUpdatePhpSpec.php:18
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Dumper\\AbstractDumper' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Dumper/CliDumper.php:21
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Cloner\\AbstractCloner' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Cloner/VarCloner.php:17
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Cloner\\Stub' not found in wp-content/plugins/symfony-vardumper/vendor/symfony/var-dumper/Symfony/Component/VarDumper/Caster/CutStub.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: debug, vardumper, symfony
symfony-vardumper/symfony-vardumper.php Passed 13 tests
"WordPress Symfony VarDumper" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
70 characters long description:
Brings the Symfony VarDumper component to your WordPress installation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected3,059 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 543 | 827 | 2,850 |
JSON | 4 | 0 | 0 | 147 |
Markdown | 3 | 15 | 0 | 36 |
XML | 1 | 2 | 1 | 26 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 13.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 48 | 34.29% |
▷ Public methods | 117 | 83.57% |
▷ Protected methods | 15 | 10.71% |
▷ Private methods | 8 | 5.71% |
Functions | 19 | |
▷ Named functions | 6 | 31.58% |
▷ Anonymous functions | 13 | 68.42% |
Constants | 13 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 13 | 100.00% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin