Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.21ms] Passed 4 tests
A check of server-side resources used by Notely
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.17 ▼2.32 |
Dashboard /wp-admin | 3.37 ▲0.03 | 54.99 ▼13.22 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 53.49 ▲2.74 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.04 ▼8.05 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.97 ▲4.48 |
Notely /wp-admin/options-general.php?page=notely-settings | 3.26 | 35.37 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Notely
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲65 | 14.69 ▲0.49 | 2.06 ▲0.08 | 44.99 ▼6.71 |
Dashboard /wp-admin | 2,204 ▲27 | 5.64 ▲0.02 | 95.35 ▼1.66 | 43.63 ▲0.53 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.00 ▲0.02 | 35.89 ▼1.58 | 33.65 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.27 ▼0.45 | 728.10 ▲71.82 | 50.29 ▼0.20 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.23 ▼0.06 | 103.92 ▲6.39 | 43.93 ▲1.18 |
Notely /wp-admin/options-general.php?page=notely-settings | 1,015 | 1.74 | 37.22 | 25.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: page notes, memo, notes, post notes
notely/notely.php Passed 13 tests
The main PHP script in "Notely" version 1.8.0 is automatically included on every request by WordPress
98 characters long description:
Adds a new metabox into the Posts, Pages and Woo Commerce Products admin sidebar for making notes.
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
There were no executable files found in this plugin595 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 74 | 42 | 324 |
Sass | 1 | 18 | 0 | 160 |
SVG | 3 | 0 | 2 | 110 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin