Benchmarks
Plugin footprint 65% 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.03MB] [CPU: ▼2.59ms] Passed 4 tests
Server-side resources used by Page & Post Notes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.15 ▲0.04 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.91 ▼4.58 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.91 ▲3.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.29 ▼5.95 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.09 ▲0.13 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_yydev_notes |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
yydev_notes_timestamp |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Page & Post Notes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.36 ▼0.26 | 1.71 ▼0.31 | 37.37 ▼8.05 |
Dashboard /wp-admin | 2,258 ▲81 | 5.61 ▲0.06 | 88.81 ▼2.08 | 78.78 ▲37.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.09 | 40.30 ▼2.05 | 38.59 ▲1.34 |
Add New Post /wp-admin/post-new.php | 6,264 ▲4,738 | 25.89 ▲2.78 | 1,044.66 ▲346.47 | 64.16 ▲8.84 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▼0.00 | 97.22 ▼4.11 | 48.02 ▲6.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_yydev_notes
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- yydev_notes_timestamp
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
page-post-notes/index.php 92% from 13 tests
Analyzing the main PHP file in "Page & Post Notes" version 1.3.2
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("page-post-notes.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected540 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 272 | 116 | 540 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/remove.png | 1.58KB | 0.82KB | ▼ 48.30% |
images/separator.png | 1.15KB | 0.10KB | ▼ 90.91% |
images/icon.png | 6.24KB | 6.33KB | 0.00% |
images/text-direction.png | 1.35KB | 0.41KB | ▼ 69.80% |