Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.55MB] [CPU: ▲10.83ms] Passed 4 tests
Analyzing server-side resources used by NVV Debug Lines
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.01 ▲1.55 | 56.28 ▲12.41 |
Dashboard /wp-admin | 4.85 ▲1.55 | 62.34 ▲12.18 |
Posts /wp-admin/edit.php | 4.97 ▲1.61 | 69.82 ▲16.80 |
Add New Post /wp-admin/post-new.php | 7.45 ▲1.56 | 94.85 ▲3.63 |
Media Library /wp-admin/upload.php | 4.75 ▲1.52 | 51.37 ▲15.09 |
NVV Debug Lines options /wp-admin/options-general.php?page=nvv_debug_lines_options | 4.84 | 49.25 |
Server storage [IO: ▲8.59MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 471 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for NVV Debug Lines
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,169 ▲408 | 18.70 ▲4.08 | 5.86 ▲3.99 | 77.85 ▲32.70 |
Dashboard /wp-admin | 2,467 ▲287 | 8.97 ▲3.28 | 171.66 ▲86.21 | 40.18 ▼2.87 |
Posts /wp-admin/edit.php | 2,401 ▲301 | 6.09 ▲4.11 | 77.35 ▲42.62 | 35.75 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,601 ▲64 | 19.70 ▼3.18 | 656.56 ▼2.92 | 36.51 ▼23.67 |
Media Library /wp-admin/upload.php | 1,551 ▲148 | 6.60 ▲2.41 | 108.21 ▲3.54 | 39.80 ▼4.83 |
NVV Debug Lines options /wp-admin/options-general.php?page=nvv_debug_lines_options | 1,778 | 7.26 | 138.47 | 35.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 112× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/templates/Container/term_meta.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Datastore/Term_Meta_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Field/Media_Gallery_Field.php:14
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Field/Radio_Image_Field.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Container\\Fulfillable\\Fulfillable' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Fulfillable_Collection.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Container/Condition/User_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Contain_Comparer.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Textarea_Field' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Field/Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Datastore' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/core/Datastore/Empty_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Carbon_Fields' not found in wp-content/plugins/nvv-debug-lines/vendor/htmlburger/carbon-fields/config.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: selectors, debug function, highlight lines, debug, lines
nvv-debug-lines/nvv-debug-lines.php Passed 13 tests
This is the main PHP file of "NVV Debug Lines" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Help for developers. Highlighting blocks of code with colored lines. Functions for debugging code.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected28,206 lines of code in 414 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 172 | 5,195 | 8,459 | 12,958 |
PHP | 152 | 2,553 | 6,624 | 8,995 |
PO File | 27 | 893 | 1,143 | 2,293 |
CSS | 8 | 347 | 1,142 | 1,768 |
Sass | 48 | 338 | 0 | 1,764 |
JSON | 4 | 0 | 0 | 360 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 11 | 9.09% |
▷ Concrete classes | 110 | 90.91% |
▷ Final classes | 1 | 0.91% |
Methods | 898 | |
▷ Static methods | 90 | 10.02% |
▷ Public methods | 729 | 81.18% |
▷ Protected methods | 165 | 18.37% |
▷ Private methods | 4 | 0.45% |
Functions | 118 | |
▷ Named functions | 35 | 29.66% |
▷ Anonymous functions | 83 | 70.34% |
Constants | 29 | |
▷ Global constants | 6 | 20.69% |
▷ Class constants | 23 | 79.31% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
options/carbonfields/images/var_dump_pict.png | 7.56KB | 2.81KB | ▼ 62.86% |