Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.15ms] Passed 4 tests
Analyzing server-side resources used by Genesis Widgetized Footer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.11 ▼2.58 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.79 ▼10.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.05 ▼4.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.19 ▼7.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.73 ▲2.00 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Genesis Widgetized Footer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.35 ▼1.01 | 1.75 ▼0.70 | 46.60 ▼4.54 |
Dashboard /wp-admin | 2,203 ▲15 | 5.79 ▲0.86 | 99.77 ▼14.10 | 38.54 ▼7.73 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.03 | 34.37 ▼3.18 | 34.22 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.45 ▲0.16 | 676.11 ▲2.95 | 66.70 ▲13.73 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.23 ▲0.04 | 100.27 ▼3.39 | 43.71 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/genesis-widgetized-footer/includes/gwfoot-admin.php
- > /wp-content/plugins/genesis-widgetized-footer/includes/gwfoot-shortcodes.php
- > /wp-content/plugins/genesis-widgetized-footer/genesis-widgetized-footer.php
- > /wp-content/plugins/genesis-widgetized-footer/includes/gwfoot-frontend.php
- > /wp-content/plugins/genesis-widgetized-footer/includes/gwfoot-widget-areas.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: shortcodes, disclaimer, genesis, genesiswp, footer...
genesis-widgetized-footer/genesis-widgetized-footer.php Passed 13 tests
"Genesis Widgetized Footer" version 1.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
138 characters long description:
Finally, use widgets to customize your Footer area (a.k.a 'Return to Top' plus 'Copyright/Credits') 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 plugin762 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 257 | 489 | 485 |
PO File | 2 | 90 | 163 | 241 |
CSS | 2 | 10 | 21 | 36 |
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.49 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin