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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.12ms] Passed 4 tests
Server-side resources used by SMNTCS Admin Maintenance
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.48 ▼5.34 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.00 ▼19.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.67 ▼3.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.40 ▼12.57 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.35 ▲0.24 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SMNTCS Admin Maintenance
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.09 ▼0.27 | 1.61 ▼0.04 | 39.31 ▼1.73 |
Dashboard /wp-admin | 2,192 ▲15 | 5.50 ▼0.15 | 83.66 ▼1.08 | 39.70 ▼2.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 34.46 ▼2.69 | 32.96 ▼2.99 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.26 ▲0.24 | 679.12 ▲10.17 | 60.20 ▲6.36 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▲0.00 | 93.07 ▼7.65 | 42.57 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: A description for screenshot #1 is required in smntcs-admin-maintenance/assets to your readme.txt
smntcs-admin-maintenance/smntcs-admin-maintenance.php 92% from 13 tests
This is the main PHP file of "SMNTCS Admin Maintenance" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected7,824 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 7,545 |
PHP | 1 | 20 | 64 | 88 |
JavaScript | 5 | 14 | 21 | 86 |
XML | 1 | 13 | 14 | 51 |
Markdown | 1 | 33 | 0 | 45 |
YAML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.22MB with 0.21MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/icon-256x256.png | 19.13KB | 0.00KB | ▼ 100.00% |
(invalid) assets/icon-128x128.png | 6.20KB | 0.00KB | ▼ 100.00% |
(invalid) assets/banner-772x250.png | 65.35KB | 0.00KB | ▼ 100.00% |
assets/screenshot-1.png | 131.42KB | 27.84KB | ▼ 78.82% |