Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼295.14ms] Passed 4 tests
An overview of server-side resources used by 404 to Start
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 55.26 ▲0.21 |
Dashboard /wp-admin | 3.47 ▲0.06 | 33.20 ▼1.96 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.45 ▼6.80 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 95.73 ▼1,172.00 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 34.03 ▲4.74 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
f042start_target |
f042start_type |
f042start_exclude3 |
f042start_exclude2 |
f042start_emailalert |
f042start_exclude |
f042start_emailaddres |
Browser metrics Passed 4 tests
An overview of browser requirements for 404 to Start
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 15.41 ▲0.11 | 5.74 ▼0.42 | 2.94 ▲0.30 |
Dashboard /wp-admin | 2,904 ▲36 | 6.10 ▲0.03 | 121.43 ▼65.89 | 180.87 ▲8.82 |
Posts /wp-admin/edit.php | 2,662 ▼29 | 3.25 ▲0.03 | 69.46 ▲3.62 | 211.20 ▲6.97 |
Add New Post /wp-admin/post-new.php | 1,658 ▲19 | 21.21 ▲1.88 | 463.08 ▲20.13 | 179.23 ▲29.94 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.50 ▼0.02 | 153.07 ▲6.38 | 221.86 ▲28.58 |
404 to Start /wp-admin/404-to-start.php | 26 | 0.94 | 0.03 | 21.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/404-to-start/whatsup.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/404-to-start/404-to-start.php:52
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/404-to-start.php
- > Network (severe)
wp-admin/404-to-start.php - Failed to load resource: the server responded with a status of 404 (Not 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
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Basic Settings) image not found
404-to-start/404-to-start.php 92% from 13 tests
Analyzing the main PHP file in "404 to Start" version 1.6.1
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected332 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 47 | 37 | 167 |
PO File | 4 | 49 | 54 | 165 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 15 | |
▷ Named functions | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 14.48KB | 9.69KB | ▼ 33.11% |