Benchmarks
Plugin footprint 82% 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: ▲1.43MB] [CPU: ▲401.20ms] 75% from 4 tests
An overview of server-side resources used by Genoo
The following require your attention
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 401.20ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.75 ▲1.29 | 55.26 ▲10.07 |
Dashboard /wp-admin | 4.79 ▲1.48 | 605.42 ▲550.88 |
Posts /wp-admin/edit.php | 4.83 ▲1.47 | 589.58 ▲536.59 |
Add New Post /wp-admin/post-new.php | 7.39 ▲1.50 | 622.65 ▲525.83 |
Media Library /wp-admin/upload.php | 4.70 ▲1.47 | 570.55 ▲532.29 |
Server storage [IO: ▲3.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 226 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
genooCTA |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
genooApiSettings |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Genoo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲111 | 13.60 ▼0.93 | 5.12 ▲2.86 | 36.66 ▼11.62 |
Dashboard /wp-admin | 2,231 ▲54 | 5.75 ▲0.09 | 89.88 ▼0.26 | 82.77 ▲42.57 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 2.36 ▲0.39 | 35.80 ▼3.06 | 64.96 ▲28.61 |
Add New Post /wp-admin/post-new.php | 1,732 ▲204 | 22.62 ▼0.47 | 758.91 ▲73.52 | 37.48 ▼22.88 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.32 ▲0.12 | 100.54 ▼3.55 | 98.47 ▲55.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- genooCTA
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/genoo/assets/GenooTineMCE.php
- > /wp-content/plugins/genoo/assets/GenooTinyMCE.php
- 61× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genoo/libs/WPME/Extensions/GuttenbergShortcodes/form/index.php:22
- > PHP Fatal error
Uncaught Error: Class 'WPME\\WPApi\\Base' not found in wp-content/plugins/genoo/libs/WPME/WPApi/CTAs.php:30
- > PHP Fatal error
Uncaught Error: Class 'WPME\\RepositoryFactory' not found in wp-content/plugins/genoo/libs/WPME/Extensions/RepositorySurveys.php:32
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-wp-customize-setting.php' (include_path='.:/usr/share/php') in wp-content/plugins/genoo/libs/WPME/Customizer/CustomizerSetting.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'WPMKTENGINE\\Wordpress\otice' not found in wp-content/plugins/genoo/libs/WPME/Nag/Notice.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/genoo/GenooInit.php:58
- > PHP Fatal error
Uncaught Error: Class 'WPME\\ApiFactory' not found in wp-content/plugins/genoo/libs/WPME/ApiExtension/Surveys.php:30
- > PHP Fatal error
Uncaught Error: Class 'WPMKTENGINE\\Repository' not found in wp-content/plugins/genoo/libs/WPME/RepositoryFactory.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/genoo/libs/WPMKTENGINE/WidgetCTA.php:34
- > PHP Fatal error
Uncaught Error: Class 'Genoo\\Api' not found in wp-content/plugins/genoo/libs/WPME/ApiFactory.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: marketing automation, email marketing, lead capture forms, centralized lead database
genoo/Genoo.php 92% from 13 tests
The primary PHP file in "Genoo" version 6.0.10 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("genoo.php" instead of "Genoo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin29,631 lines of code in 186 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 166 | 3,458 | 11,625 | 22,481 |
JavaScript | 13 | 737 | 1,369 | 5,287 |
CSS | 6 | 126 | 146 | 1,862 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 24.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 132 | |
▷ Abstract classes | 7 | 5.30% |
▷ Concrete classes | 125 | 94.70% |
▷ Final classes | 0 | 0.00% |
Methods | 1,242 | |
▷ Static methods | 358 | 28.82% |
▷ Public methods | 1,187 | 95.57% |
▷ Protected methods | 19 | 1.53% |
▷ Private methods | 36 | 2.90% |
Functions | 93 | |
▷ Named functions | 11 | 11.83% |
▷ Anonymous functions | 82 | 88.17% |
Constants | 128 | |
▷ Global constants | 31 | 24.22% |
▷ Class constants | 97 | 75.78% |
▷ Public constants | 97 | 100.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
15 PNG files occupy 0.39MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 26.36KB | 14.79KB | ▼ 43.91% |
assets/templates/horizontal-style/special-offer.png | 66.55KB | 22.41KB | ▼ 66.33% |
screenshot-4.png | 64.12KB | 32.20KB | ▼ 49.78% |
assets/bgShortcode.png | 1.02KB | 1.11KB | 0.00% |
assets/bgTinyMCE.png | 0.58KB | 0.68KB | 0.00% |