Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.79ms] Passed 4 tests
Server-side resources used by Genesis 404 Page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.42 ▲5.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 65.19 ▲19.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.19 ▼1.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.62 ▼28.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.29 ▲1.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Genesis 404 Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.57 ▼0.98 | 1.93 ▲0.22 | 43.17 ▼0.90 |
Dashboard /wp-admin | 2,203 ▲15 | 5.76 ▼0.16 | 115.12 ▲9.46 | 42.60 ▲3.46 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.05 | 34.67 ▼4.14 | 31.58 ▼5.58 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.46 ▲0.25 | 687.13 ▼2.94 | 66.33 ▲16.31 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.23 ▼0.04 | 95.89 ▼2.54 | 40.24 ▼8.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 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 50% 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Admin_Boxes' not found in wp-content/plugins/genesis-404-page/includes/class-be-genesis-404-settings.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Screenshot #1 (Admin screen showing the fields for custom 404 Not Found page title and content.) image missing
genesis-404-page/plugin.php 85% from 13 tests
The principal PHP file in "Genesis 404 Page" v. 1.5.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("genesis-404-page.php" instead of "plugin.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin242 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 73 | 235 | 220 |
Markdown | 1 | 6 | 0 | 22 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 5 | 25.00% |
▷ Public methods | 15 | 75.00% |
▷ Protected methods | 2 | 10.00% |
▷ Private methods | 3 | 15.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
assets/screenshot-1.png | 13.83KB | 9.42KB | ▼ 31.87% |