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.08MB] [CPU: ▼2.22ms] Passed 4 tests
A check of server-side resources used by WordPress Maintenance Developer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.83 ▲1.69 |
Dashboard /wp-admin | 3.39 ▲0.09 | 53.72 ▲2.32 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 54.78 ▲2.27 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.75 ▼13.22 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.55 ▲0.37 |
Maintenance mode /wp-admin/tools.php?page=page-wp-maintenance-developer | 3.28 | 37.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
maintenance_settings |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Maintenance Developer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.66 ▼1.10 | 1.65 ▼0.33 | 39.67 ▼2.94 |
Dashboard /wp-admin | 2,213 ▲25 | 5.84 ▲0.95 | 113.23 ▲8.65 | 39.85 ▼6.77 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.12 | 39.81 ▼15.82 | 33.63 ▼13.29 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.09 ▲0.28 | 666.26 ▼5.06 | 54.79 ▼1.01 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▲0.00 | 97.36 ▼22.05 | 41.88 ▼4.57 |
Maintenance mode /wp-admin/tools.php?page=page-wp-maintenance-developer | 967 | 2.03 | 23.86 | 34.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
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)
No browser errors were detected
Optimizations
Plugin configuration 97% 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 your attention:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-maintenance-developer/wp-maintenance-developer.php Passed 13 tests
Analyzing the main PHP file in "WordPress Maintenance Developer" version 1.2.1
111 characters long description:
Add a page that prevents your site's content view. Ideal to report a scheduled maintenance or coming soon page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin415 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 79 | 106 | 340 |
PO File | 1 | 26 | 30 | 75 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin