Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.26ms] Passed 4 tests
Server-side resources used by Genesis Layout Extras - Default Layouts in Genesis for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.14 ▼6.65 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.21 ▼0.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.69 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.78 ▼8.81 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.77 ▲1.59 |
Server storage [IO: ▲1.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Layout Extras - Default Layouts in Genesis for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.52 ▲0.28 | 1.64 ▼0.39 | 45.96 ▲2.93 |
Dashboard /wp-admin | 2,198 ▲30 | 5.62 ▲0.08 | 96.09 ▲5.12 | 42.54 ▲0.17 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.08 | 37.14 ▼0.77 | 33.18 ▼5.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.58 ▲0.45 | 671.40 ▲62.22 | 58.32 ▲11.14 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.09 ▼0.14 | 101.23 ▼4.62 | 46.82 ▲1.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/genesis-layout-extras/uninstall.php+74
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 20× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/genesis-layout-extras/includes/admin/views/gle-admin-help-plugins.php
- > /wp-content/plugins/genesis-layout-extras/includes/admin/gle-admin-extras.php
- > /wp-content/plugins/genesis-layout-extras/uninstall.php
- > /wp-content/plugins/genesis-layout-extras/includes/gle-frontend.php
- > /wp-content/plugins/genesis-layout-extras/includes/gle-unload-translations.php
- > /wp-content/plugins/genesis-layout-extras/includes/gle-functions-global.php
- > /wp-content/plugins/genesis-layout-extras/includes/admin/views/gle-admin-options-plugins.php
- > /wp-content/plugins/genesis-layout-extras/includes/admin/views/gle-admin-options-themedy.php
- > /wp-content/plugins/genesis-layout-extras/genesis-layout-extras.php
- > /wp-content/plugins/genesis-layout-extras/includes/admin/classes/ddwlib-plir/ddwlib-plugin-installer-recommendations.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Requires at least: Version not formatted correctly
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
genesis-layout-extras/genesis-layout-extras.php 92% from 13 tests
The primary PHP file in "Genesis Layout Extras - Default Layouts in Genesis for WordPress" version 2.1.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 246 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin7,120 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,614 | 1,911 | 3,393 |
PO File | 2 | 656 | 1,724 | 2,215 |
CSS | 23 | 303 | 232 | 894 |
Markdown | 3 | 288 | 0 | 596 |
JSON | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 28 | |
▷ Static methods | 16 | 57.14% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.54MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-gest.png | 69.09KB | 16.67KB | ▼ 75.86% |
assets/images/icon-tbex.png | 63.41KB | 15.36KB | ▼ 75.78% |
assets/images/icon-gwfoot.png | 67.48KB | 15.87KB | ▼ 76.47% |
assets/images/icon-gwat.png | 69.75KB | 16.92KB | ▼ 75.74% |
assets/images/icon-gle.png | 67.10KB | 16.31KB | ▼ 75.69% |