Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.15ms] Passed 4 tests
Server-side resources used by NotFound.org 404 Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.04 ▼4.95 |
Dashboard /wp-admin | 3.31 ▲0.01 | 59.06 ▲7.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 55.11 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.53 ▼10.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.94 ▼7.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by NotFound.org 404 Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.48 ▲0.11 | 1.79 ▼0.14 | 41.50 ▼0.13 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▼0.07 | 101.08 ▼4.00 | 42.54 ▲1.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 39.60 ▲0.57 | 34.80 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 18.37 ▼4.54 | 647.73 ▼1.50 | 53.38 ▼1.73 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.22 ▼0.03 | 101.74 ▼1.03 | 44.37 ▼0.56 |
NotFound.org /wp-admin/notfound-org.php | 26 | 0.44 | 0.12 | 13.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/notfoundorg-404-page/notfound-org.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/notfoundorg-404-page/views/notfound.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/notfoundorg-404-page/views/admin.php:48
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/notfound-org.php
- > Network (severe)
wp-admin/notfound-org.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
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== notfoundorg-404-page ===
)
notfoundorg-404-page/notfound-org.php 92% from 13 tests
The main PHP script in "NotFound.org 404 Page" version 1.2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("notfoundorg-404-page.php" instead of "notfound-org.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin234 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 40 | 76 | 234 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 8 | 100.00% |
▷ Public methods | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected