Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; wsScreenMetaLinks10 has a deprecated constructor
Server metrics [RAM: ▼1.81MB] [CPU: ▼190.15ms] Passed 4 tests
Server-side resources used by Maintenance Checklist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.83 ▼1.01 | 6.13 ▼30.70 |
Dashboard /wp-admin | 1.85 ▼1.21 | 6.15 ▼41.27 |
Posts /wp-admin/edit.php | 1.85 ▼1.26 | 8.81 ▼35.61 |
Add New Post /wp-admin/post-new.php | 1.85 ▼3.59 | 7.91 ▼651.98 |
Media Library /wp-admin/upload.php | 1.85 ▼1.16 | 5.19 ▼31.73 |
Maintenance Checklist /wp-admin/options-general.php?page=maintenance-checklist | 1.85 | 5.47 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wpv_maintenance_tracking |
Browser metrics Passed 4 tests
A check of browser resources used by Maintenance Checklist
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,747 ▲151 | 16.09 ▲0.86 | 7.32 ▼0.52 | 52.85 ▲0.04 |
Dashboard /wp-admin | 2,998 ▲67 | 5.96 ▼0.10 | 157.34 ▲0.25 | 121.65 ▲4.93 |
Posts /wp-admin/edit.php | 2,782 ▲43 | 2.58 ▼0.13 | 65.12 ▼9.03 | 104.75 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,642 ▼41 | 21.02 ▲2.24 | 278.80 ▼118.64 | 114.49 ▼1.43 |
Media Library /wp-admin/upload.php | 1,787 ▼20 | 5.02 ▼0.00 | 157.38 ▼15.57 | 135.19 ▲9.56 |
Maintenance Checklist /wp-admin/options-general.php?page=maintenance-checklist | 1,207 | 2.11 | 62.15 | 85.90 |
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
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; wsScreenMetaLinks10 has a deprecated constructor
- This plugin did not uninstall successfully, leaving 1 option in the database
- wpv_maintenance_tracking
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > Deprecated in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; wsScreenMetaLinks10 has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > User deprecated in wp-includes/functions.php+5411
class-json.php is deprecated since version 5.3.0 with no alternative available. The PHP native JSON extension is now a requirement.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > Notice in wp-content/plugins/maintenance-checklist/index.php+77
Array to string conversion
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > Notice in wp-content/plugins/maintenance-checklist/includes/functions.php+26
Undefined variable: wpv_check_if_false_exist
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > Notice in wp-content/plugins/maintenance-checklist/index.php+84
Undefined variable: wpv_maintenance_message
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=maintenance-checklist
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php on line 13
- > PHP Warning
require(ABSPATHWPINC/class-json.php): failed to open stream: No such file or directory in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/maintenance-checklist/includes/admin_dashboard.php:2
- > PHP Fatal error
require(): Failed opening required 'ABSPATHWPINC/class-json.php' (include_path='.:/usr/share/php') in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/maintenance-checklist/includes/screen-meta-links.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/maintenance-checklist/includes/admin_dashboard.php:2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== maintenance-checklist ===
) - Screenshots: Add an image for screenshot #1 (This is the location of the maintenance checklist on your dashboard)
maintenance-checklist/index.php 85% from 13 tests
The main file in "Maintenance Checklist" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("maintenance-checklist.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 231 characters long)
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
No dangerous file extensions were detected374 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 85 | 100 | 364 |
CSS | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin