Benchmarks
Plugin footprint 65% from 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.12MB] [CPU: ▼3.76ms] Passed 4 tests
An overview of server-side resources used by A Note Above - WP Dashboard Notes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.00 ▼1.66 |
Dashboard /wp-admin | 3.43 ▲0.12 | 48.13 ▼2.85 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.16 ▲6.04 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 85.80 ▼12.17 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 32.55 ▲1.63 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 34 new files
Database: 1 new table, 9 new options
New tables |
---|
wp__anoteabove |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
anoteabove_stack |
anoteabove_installed |
can_compress_scripts |
widget_recent-comments |
anoteabove_version |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for A Note Above - WP Dashboard Notes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲118 | 14.76 ▲0.41 | 1.70 ▼0.02 | 38.23 ▼5.80 |
Dashboard /wp-admin | 2,285 ▲108 | 6.49 ▲0.91 | 116.60 ▲21.14 | 42.73 ▼2.96 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.94 ▼0.03 | 39.94 ▼3.60 | 34.21 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▼0.10 | 598.13 ▼76.93 | 59.38 ▲7.58 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.24 ▼0.03 | 98.61 ▲0.67 | 41.23 ▲0.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp__anoteabove
- This plugin does not fully uninstall, leaving 9 options in the database
- anoteabove_version
- theysaidso_admin_options
- anoteabove_stack
- can_compress_scripts
- anoteabove_installed
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
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
Even though everything seems fine, this is not 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 take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/a-note-above-wp-dashboard-notes/includes/Api/WPNAPI.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/a-note-above-wp-dashboard-notes/includes/Api.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: These screenshots require images: #1 (Click 'Add A Note' for the note edit panel to appear), #2 (Click 'Visibility' to open the visibility control panel), #3 (Notes can be assigned visibility from all users, to only your user profile, to ranges of capabilities.)
a-note-above-wp-dashboard-notes/anoteabove.php 85% from 13 tests
The main file in "A Note Above - WP Dashboard Notes" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("a-note-above-wp-dashboard-notes.php" instead of "anoteabove.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected23,564 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 21,514 |
Vuejs Component | 7 | 105 | 13 | 1,163 |
PHP | 5 | 192 | 280 | 566 |
JavaScript | 11 | 33 | 37 | 278 |
Markdown | 1 | 16 | 0 | 42 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of 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.25 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 49 | |
▷ Static methods | 1 | 2.04% |
▷ Public methods | 33 | 67.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 32.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected