Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.58ms] Passed 4 tests
Server-side resources used by Genesis Featured Image
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.59 ▼2.76 |
Dashboard /wp-admin | 3.31 ▲0.00 | 54.47 ▲1.49 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.61 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.52 ▼24.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.77 ▲0.26 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Featured Image
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.74 ▲0.07 | 1.94 ▼0.12 | 44.54 ▼8.33 |
Dashboard /wp-admin | 2,224 ▲24 | 4.81 ▼1.00 | 104.86 ▼7.50 | 38.27 ▼3.59 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.05 ▲0.06 | 38.29 ▼2.51 | 33.33 ▼7.27 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 23.23 ▼0.15 | 653.17 ▼0.40 | 48.29 ▼8.14 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.22 ▼0.09 | 97.32 ▼12.99 | 43.20 ▲0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/genesis-featured-image/genesis-featured-image.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
5 plugin tags: studiopress, genesis framework, featured image, featured images, genesis
genesis-featured-image/genesis-featured-image.php Passed 13 tests
The primary PHP file in "Genesis Featured Image" version 1.2.0 is used by WordPress to initiate all plugin functionality
68 characters long description:
Allows you to add a Featured Image after header in Genesis Framework
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 plugin808 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 147 | 262 | 396 |
PO File | 3 | 90 | 102 | 362 |
JavaScript | 1 | 17 | 4 | 48 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 1 | 3.12% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 5 | 15.62% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
No PNG images were found in this plugin