Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼275.87ms] Passed 4 tests
Server-side resources used by Plugin Notes Label
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 41.28 ▲19.36 |
Dashboard /wp-admin | 3.06 ▲0.01 | 35.57 ▼2.38 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 36.53 ▼14.83 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 91.38 ▼1,080.48 |
Media Library /wp-admin/upload.php | 3.01 ▼0.00 | 31.15 ▼5.79 |
Plugin Notes Label /wp-admin/options-general.php?page=plugin-notes-label/options.php | 3.05 | 28.16 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Notes Label
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲72 | 15.96 ▲0.44 | 8.17 ▲0.36 | 42.82 ▼4.05 |
Dashboard /wp-admin | 2,929 ▲76 | 5.91 ▼0.03 | 152.54 ▲20.48 | 100.72 ▼2.88 |
Posts /wp-admin/edit.php | 2,708 ▲5 | 2.69 ▲0.01 | 65.31 ▲0.58 | 93.62 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,484 ▼172 | 18.48 ▲0.04 | 350.86 ▼7.72 | 105.88 ▼0.15 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 5.01 ▲0.00 | 142.51 ▼31.55 | 111.94 ▼8.37 |
Plugin Notes Label /wp-admin/options-general.php?page=plugin-notes-label/options.php | 1,169 | 2.06 | 56.43 | 67.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/plugin-notes-label/plugin-notes-label.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/plugin-notes-label/options.php:145
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/plugin-notes-label/includes/ajax_note.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
plugin-notes-label/plugin-notes-label.php Passed 13 tests
The entry point to "Plugin Notes Label" version 4.14 is a PHP file that has certain tags in its header comment area
30 characters long description:
Add your Notes to each plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected727 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 152 | 69 | 505 |
JavaScript | 2 | 46 | 14 | 124 |
CSS | 2 | 1 | 10 | 98 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin