Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▼0.91MB] [CPU: ▼36.31ms] Passed 4 tests
Analyzing server-side resources used by WordPress Easy Custom Error Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.63 ▼3.86 |
Dashboard /wp-admin | 3.03 ▼0.27 | 24.17 ▼32.68 |
Posts /wp-admin/edit.php | 3.03 ▼0.32 | 23.60 ▼26.43 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 24.20 ▼77.46 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 26.51 ▼8.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- Illegal file modification found: 11 files (7.26KB) outside of "wp-content/plugins/easy-custom-error-pages/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/502.php
- (new file) wp-content/themes/twentytwentyone/500.php
- (new file) wp-content/themes/twentytwentyone/503.php
- (modified) .htaccess
- (new file) wp-content/themes/twentytwentyone/402.php
- (modified) wp-content/themes/twentytwentyone/404.php
- (new file) wp-content/themes/twentytwentyone/401.php
- (new file) wp-content/themes/twentytwentyone/408.php
- (new file) wp-content/themes/twentytwentyone/403.php
- (new file) wp-content/themes/twentytwentyone/400.php
- ...
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Easy Custom Error Pages
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.35 ▼0.94 | 1.87 ▲0.08 | 36.62 ▼7.97 |
Dashboard /wp-admin | 2,206 ▲24 | 4.86 ▼1.05 | 103.33 ▲0.16 | 42.05 ▼3.49 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.03 | 38.70 ▼1.12 | 36.26 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.69 ▼0.65 | 668.30 ▲61.64 | 53.66 ▼1.22 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.17 ▼0.03 | 95.22 ▼9.06 | 44.67 ▼2.33 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #2 (Sample View of Custom Error Page being Called in your browser)
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
easy-custom-error-pages/easy-custom-error-pages.php 92% from 13 tests
This is the main PHP file of "WordPress Easy Custom Error Pages" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: A good plugin description is longer than 10 characters (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected141 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 57 | 36 | 135 |
Markdown | 1 | 5 | 0 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin