Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▲0.54ms] Passed 4 tests
An overview of server-side resources used by Lift & Trail Status
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.81 ▲4.48 |
Dashboard /wp-admin | 3.47 ▲0.17 | 50.20 ▲5.63 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 48.54 ▼1.31 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 89.66 ▼2.64 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.32 ▲1.63 |
Medic52 Lift & Trail Status /wp-admin/options-general.php?page=medic52_wpstatus | 3.39 | 37.88 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Lift & Trail Status
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 13.97 ▼0.39 | 9.67 ▲7.76 | 42.38 ▲1.19 |
Dashboard /wp-admin | 2,229 ▲53 | 5.86 ▲0.00 | 113.43 ▲11.99 | 42.91 ▲0.38 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.06 ▼0.00 | 35.18 ▼5.78 | 32.89 ▼2.63 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.23 ▼4.90 | 624.30 ▼65.06 | 52.04 ▼2.71 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.28 ▲0.08 | 99.47 ▼16.18 | 43.76 ▼3.57 |
Medic52 Lift & Trail Status /wp-admin/options-general.php?page=medic52_wpstatus | 1,811 | 4.28 | 74.03 | 34.81 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: There are too many tags (17 tag instead of maximum 10)
- Screenshots: Please a description for screenshot #4 in lift-trail-status/assets to your readme.txt
- Screenshots: Screenshot #5 (Trails display groomed status, and snowmaking along side the the difficulty icons) image not found
lift-trail-status/medic52-wpstatus.php 77% from 13 tests
The principal PHP file in "Lift & Trail Status" v. 1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 191 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("lift-trail-status.php" instead of "medic52-wpstatus.php")
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
No dangerous file extensions were detected2,966 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 1,303 |
PHP | 7 | 126 | 303 | 866 |
CSS | 2 | 7 | 8 | 685 |
JavaScript | 2 | 7 | 22 | 112 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 34 | |
▷ Static methods | 15 | 44.12% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 13 | |
▷ Global constants | 11 | 84.62% |
▷ Class constants | 2 | 15.38% |
▷ Public constants | 2 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon_map.png | 2.34KB | 0.94KB | ▼ 59.91% |
assets/img/icon_triplechair.png | 2.63KB | 1.05KB | ▼ 60.04% |