Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼298.94ms] Passed 4 tests
This is a short check of server-side resources used by 404gotten.org 404 Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 53.99 ▲3.71 |
Dashboard /wp-admin | 3.43 ▲0.02 | 34.58 ▲1.70 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 37.59 ▲0.62 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 92.45 ▼1,200.20 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 25.15 ▲2.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for 404gotten.org 404 Page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,754 ▲10 | 15.53 ▼0.46 | 6.11 ▼0.28 | 2.31 ▲0.23 |
Dashboard /wp-admin | 2,883 ▲22 | 6.11 ▼0.08 | 119.97 ▼13.56 | 155.20 ▼5.79 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.00 | 68.09 ▼5.65 | 140.40 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.09 ▼0.78 | 411.17 ▼18.01 | 155.33 ▼5.03 |
Media Library /wp-admin/upload.php | 1,700 ▼1 | 5.51 ▲0.05 | 159.20 ▲14.42 | 203.00 ▲16.13 |
404gotten.org /wp-admin/compassion-com.php | 26 | 0.94 | 0.03 | 20.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/404gottenorg-404-page/notfound-org.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/404gottenorg-404-page/views/notfound.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/404gottenorg-404-page/views/admin.php:46
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/compassion-com.php
- > Network (severe)
wp-admin/compassion-com.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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== 404gottenorg-404-page ===
)
404gottenorg-404-page/notfound-org.php 92% from 13 tests
The primary PHP file in "404gotten.org 404 Page" version 1.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("404gottenorg-404-page.php" instead of "notfound-org.php")
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
Good job! No executable or dangerous file extensions detected190 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 32 | 70 | 190 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 7 | 100.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin