Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼283.32ms] Passed 4 tests
Server-side resources used by Genesis Widgetized Not Found & 404 - Easy Setup for 404 Page and Search Not Found
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.40 | 57.38 ▲38.45 |
Dashboard /wp-admin | 3.41 ▲0.00 | 33.85 ▼6.60 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 39.99 ▲3.77 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 115.86 ▼1,116.46 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 26.14 ▼13.97 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Widgetized Not Found & 404 - Easy Setup for 404 Page and Search Not Found
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,749 ▲5 | 15.94 ▼0.13 | 6.08 ▼0.75 | 2.25 ▲0.05 |
Dashboard /wp-admin | 2,881 ▲23 | 6.15 ▲0.06 | 130.04 ▼10.30 | 155.00 ▼14.81 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.23 ▼0.00 | 64.11 ▼8.75 | 143.38 ▼39.67 |
Add New Post /wp-admin/post-new.php | 1,752 ▲91 | 21.72 ▲5.53 | 445.49 ▲9.14 | 200.29 ▲26.49 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.54 ▲0.04 | 151.97 ▲7.06 | 246.57 ▲52.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/genesis-widgetized-notfound/genesis-widgetized-notfound.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-admin-extras.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-admin.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-functions-global.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-widget-search.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-widget-areas.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-frontend.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-bbpress-widgetized-noresults.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/gwnf-shortcodes.php
- > /wp-content/plugins/genesis-widgetized-notfound/includes/ddwlib-plir/ddwlib-plugin-installer-recommendations.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
genesis-widgetized-notfound/genesis-widgetized-notfound.php Passed 13 tests
The principal PHP file in "Genesis Widgetized Not Found & 404 - Easy Setup for 404 Page and Search Not Found" v. 1.6.4 is loaded by WordPress automatically on each request
127 characters long description:
Finally, use widgets to maintain and customize your 404 Error and Search Not Found pages in Genesis Framework and Child Themes.
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
Success! There were no dangerous files found in this plugin3,047 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 619 | 1,006 | 1,541 |
PO File | 3 | 294 | 522 | 820 |
Markdown | 3 | 232 | 0 | 508 |
CSS | 5 | 44 | 34 | 156 |
JSON | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 30.50 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 21 | |
▷ Static methods | 16 | 76.19% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/ddwlib-plir/deckerweb-plugins-logo.png | 15.80KB | 6.20KB | ▼ 60.78% |