Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5643
File upgrade-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/upgrade.php instead.
Server metrics [RAM: ▲0.06MB] [CPU: ▲6.72ms] Passed 4 tests
Analyzing server-side resources used by 404s
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 60.97 ▲23.72 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.52 ▲4.60 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 55.27 ▲5.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 100.07 ▲7.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.84 ▲9.04 |
All 404s /wp-admin/edit.php?post_type=404s | 3.32 | 42.19 |
Export 404s /wp-admin/edit.php?post_type=404s&page=panel404sExport | 3.26 | 36.85 |
Settings /wp-admin/edit.php?post_type=404s&page=404settings | 3.26 | 39.86 |
Add New /wp-admin/post-new.php?post_type=404s | 3.41 | 55.14 |
404s /wp-admin/edit.php?post_type=404s&page=404s | 3.23 | 41.28 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_404s |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
tomas_404sinstalled |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 404s
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 13.33 ▼0.97 | 4.74 ▲2.99 | 38.37 ▼3.15 |
Dashboard /wp-admin | 2,254 ▲65 | 4.99 ▲0.09 | 100.50 ▼15.60 | 36.61 ▼7.35 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.09 ▲0.07 | 42.38 ▲0.34 | 35.50 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,571 ▲37 | 23.12 ▼0.08 | 588.29 ▼74.56 | 62.34 ▲6.63 |
Media Library /wp-admin/upload.php | 1,433 ▲45 | 4.23 ▲0.01 | 97.22 ▼7.63 | 47.15 ▲0.93 |
All 404s /wp-admin/edit.php?post_type=404s | 1,106 | 2.01 | 33.66 | 30.39 |
Export 404s /wp-admin/edit.php?post_type=404s&page=panel404sExport | 837 | 1.71 | 25.23 | 27.48 |
Settings /wp-admin/edit.php?post_type=404s&page=404settings | 1,249 | 1.72 | 24.23 | 31.06 |
Add New /wp-admin/post-new.php?post_type=404s | 2,418 | 7.75 | 175.52 | 69.78 |
404s /wp-admin/edit.php?post_type=404s&page=404s | 854 | 1.68 | 25.87 | 24.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_404s
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- tomas_404sinstalled
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=404s&page=404s
- > Notice in wp-content/plugins/404s/404s.php+369
Undefined variable: results_page_pagination
- > GET request to /wp-admin/edit.php?post_type=404s&page=404s
- > Warning in wp-content/plugins/404s/404paginate.php+33
count(): Parameter must be an array or an object that implements Countable
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: redirect, webmaster tools, custom 404 page, 404 redirect, broken link...
404s/404s.php 92% from 13 tests
The primary PHP file in "404s" version 3.5.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,140 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 266 | 84 | 1,132 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 23 | |
▷ Named functions | 23 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin