Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲4.14MB] [CPU: ▲10.62ms] Passed 4 tests
A check of server-side resources used by Admin Notes WP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.13 ▲4.67 | 82.45 ▲39.36 |
Dashboard /wp-admin | 8.19 ▲4.84 | 83.31 ▲14.79 |
Posts /wp-admin/edit.php | 8.24 ▲4.89 | 78.05 ▲22.19 |
Add New Post /wp-admin/post-new.php | 8.03 ▲2.15 | 77.80 ▼33.85 |
Media Library /wp-admin/upload.php | 8.19 ▲4.97 | 82.13 ▲44.80 |
Server storage [IO: ▲15.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 712 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
acf_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Notes WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,248 ▲487 | 18.74 ▲4.46 | 5.56 ▲3.96 | 42.32 ▲3.36 |
Dashboard /wp-admin | 2,550 ▲373 | 9.06 ▲3.41 | 158.39 ▲61.36 | 40.20 ▲0.89 |
Posts /wp-admin/edit.php | 2,484 ▲381 | 6.42 ▲4.39 | 87.30 ▲47.09 | 39.20 ▲3.18 |
Add New Post /wp-admin/post-new.php | 6,787 ▲5,261 | 26.70 ▲3.59 | 1,190.90 ▲504.46 | 41.67 ▼10.88 |
Media Library /wp-admin/upload.php | 2,159 ▲768 | 13.12 ▲8.92 | 276.74 ▲172.27 | 52.88 ▲7.31 |
Admin Notes WP /wp-admin/crb_carbon_fields_container_admin_notes_wp.php | 26 | 0.42 | 0.10 | 14.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- acf_version
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/admin-notes-wp/admin/partials/wp-admin-notes-admin-display.php
- 187× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Holder_Interface' not found in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/core/Field/Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/admin-notes-wp/includes/acf/advanced-custom-fields/includes/fields/class-acf-field-radio.php:5
- > PHP Notice
Undefined variable: rule in wp-content/plugins/admin-notes-wp/includes/acf/advanced-custom-fields/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/admin-notes-wp/includes/acf/advanced-custom-fields/includes/fields/class-acf-field-file.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/core/Service/Meta_Query_Service.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Any_Equality_Comparer.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/core/Container/Term_Meta_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/core/Field/Color_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/core/Field/Gravity_Form_Field.php:8
- > PHP Notice
Undefined variable: plural in wp-content/plugins/admin-notes-wp/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 40
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/crb_carbon_fields_container_admin_notes_wp.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_admin_notes_wp.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 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
7 plugin tags: training, embed, support, note, video...
admin-notes-wp/wp-admin-notes.php 85% from 13 tests
This is the main PHP file of "Admin Notes WP" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("admin-notes-wp.php" instead of "wp-admin-notes.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin117,947 lines of code in 613 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 57 | 24,455 | 40,907 | 51,296 |
JavaScript | 187 | 11,921 | 15,171 | 35,527 |
PHP | 291 | 12,316 | 24,614 | 25,462 |
CSS | 20 | 541 | 1,207 | 3,315 |
Sass | 48 | 335 | 0 | 1,753 |
JSON | 6 | 0 | 0 | 512 |
Markdown | 4 | 35 | 0 | 82 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 231 | |
▷ Abstract classes | 13 | 5.63% |
▷ Concrete classes | 218 | 94.37% |
▷ Final classes | 1 | 0.46% |
Methods | 1,624 | |
▷ Static methods | 93 | 5.73% |
▷ Public methods | 1,446 | 89.04% |
▷ Protected methods | 165 | 10.16% |
▷ Private methods | 13 | 0.80% |
Functions | 534 | |
▷ Named functions | 454 | 85.02% |
▷ Anonymous functions | 80 | 14.98% |
Constants | 39 | |
▷ Global constants | 16 | 41.03% |
▷ Class constants | 23 | 58.97% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/advanced-custom-fields/assets/images/acf-logo.png | 3.40KB | 3.39KB | 0.23% |
includes/acf/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/advanced-custom-fields/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
includes/acf/advanced-custom-fields/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
includes/acf/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |