Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5453
Function get_theme_data is deprecated since version 3.4.0! Use wp_get_theme() instead.
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.99ms] Passed 4 tests
An overview of server-side resources used by Genesis Media Project
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.72 ▼9.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.43 ▼3.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.07 ▼3.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.85 ▼4.44 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.25 ▼1.08 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Media Project
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.39 | 1.70 ▼0.54 | 40.16 ▲1.53 |
Dashboard /wp-admin | 2,206 ▲15 | 4.91 ▼0.99 | 134.24 ▲35.00 | 55.84 ▲10.53 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.03 ▲0.04 | 40.01 ▲0.36 | 35.36 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.21 ▲5.47 | 654.78 ▲42.11 | 51.25 ▼7.77 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.19 ▲0.01 | 96.16 ▼5.51 | 44.69 ▲1.31 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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)
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
The following issues need your attention
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-media-project/modules/video/video-thumbnail.php:368
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-media-project/modules/tab-slider/widgets/tab-slider.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_image_size() in wp-content/plugins/genesis-media-project/modules/video/functions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/genesis-media-project/modules/video/output.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/genesis-media-project/modules/video/post-types-taxonomies.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/genesis-media-project/classes/meta-box-builder/init.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/genesis-media-project/modules/tab-slider/module.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/genesis-media-project/classes/meta-box-builder/example-functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/genesis-media-project/modules/tab-slider/admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-media-project/classes/module-loader/module-loader.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== genesis-media-project ===
)
genesis-media-project/plugin.php 77% from 13 tests
This is the main PHP file of "Genesis Media Project" version 0.9.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 194 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("genesis-media-project.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,735 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 596 | 650 | 2,185 |
CSS | 3 | 90 | 99 | 744 |
PO File | 3 | 222 | 481 | 592 |
JavaScript | 8 | 61 | 109 | 214 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 43.17 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 8.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
28 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
classes/meta-box-builder/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
classes/admin-builder/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
classes/admin-builder/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
classes/admin-builder/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
classes/meta-box-builder/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |