Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.84ms] Passed 4 tests
Analyzing server-side resources used by Genesis Prose Extras
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.17 ▲5.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.39 ▼5.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.09 ▲3.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.50 ▼15.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.39 ▲1.81 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Genesis Prose Extras: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.25 ▼0.40 | 1.89 ▲0.16 | 40.29 ▼1.98 |
Dashboard /wp-admin | 2,189 ▲12 | 5.60 ▼0.07 | 87.57 ▲2.69 | 37.17 ▼9.64 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.05 | 36.93 ▼4.05 | 34.97 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.04 ▲0.08 | 686.57 ▲9.13 | 60.81 ▲3.25 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▼0.02 | 95.27 ▼8.52 | 41.61 ▼2.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 14× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-translations-loader.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-layout-extras.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-admin-settings.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-template-loader.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-frontend.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-multisite.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-admin-extras.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-admin-functions.php
- > /wp-content/plugins/genesis-prose-extras/genesis-prose-extras.php
- > /wp-content/plugins/genesis-prose-extras/includes/gpex-shortcodes.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/genesis-prose-extras/templates/prose-home.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
genesis-prose-extras/genesis-prose-extras.php 92% from 13 tests
The main PHP file in "Genesis Prose Extras" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected3,678 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 952 | 1,542 | 1,737 |
PO File | 4 | 624 | 1,180 | 1,547 |
CSS | 6 | 79 | 93 | 213 |
JavaScript | 2 | 41 | 58 | 181 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 24 | |
▷ Global constants | 24 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin