Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼0.70ms] Passed 4 tests
Server-side resources used by Widgets for Genesis Framework
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 42.84 ▼0.66 |
Dashboard /wp-admin | 3.53 ▲0.22 | 52.66 ▲3.36 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 52.69 ▲3.76 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 90.07 ▼1.79 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 37.53 ▼3.72 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 14 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_childmenutext |
widget_theysaidso_widget |
widget_contact_widget |
widget_widget_cmk_embed |
widget_widget_bios |
widget_socialtext |
widget_widget_band |
can_compress_scripts |
widget_widget_latestimgposts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Widgets for Genesis Framework
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.22 ▼0.40 | 1.62 ▼0.27 | 40.83 ▼0.18 |
Dashboard /wp-admin | 2,192 ▲12 | 5.60 ▼0.02 | 93.51 ▲0.86 | 40.24 ▲0.54 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.94 ▼0.04 | 39.05 ▼1.58 | 36.77 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.96 ▼0.14 | 680.29 ▼8.89 | 57.80 ▲4.39 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▼0.07 | 97.15 ▼6.91 | 40.73 ▼4.38 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 14 options in the database
- theysaidso_admin_options
- widget_widget_cmk_embed
- can_compress_scripts
- widget_theysaidso_widget
- widget_widget_bios
- widget_socialtext
- widget_widget_latestimgposts
- widget_childmenutext
- widget_recent-comments
- widget_contact_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
- 10× 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/widgets-so-genesis/widgets/woocatimg.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/embed.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/woofeatured.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/latestimgposts.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/social-icons.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/buttios.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/childmenu.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/buttoncta.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/contactinfo.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/widgets-so-genesis/widgets/buttand.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: widgets, genesis
widgets-so-genesis/widgets-so-genesis.php 92% from 13 tests
The main PHP script in "Widgets for Genesis Framework" version 1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,006 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 212 | 215 | 1,006 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 13.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/images/appstore-es.png | 1.40KB | 1.46KB | 0.00% |
widgets/images/playstore-en.png | 19.14KB | 2.61KB | ▼ 86.35% |
widgets/images/playstore-es.png | 1.98KB | 2.03KB | 0.00% |
widgets/images/appstore-en.png | 19.71KB | 3.18KB | ▼ 83.85% |