Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▲837.50ms] 50% from 4 tests
A check of server-side resources used by WPMktgEngine
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 1,273.89ms on /wp-admin/admin.php?page=WPMKTENGINELogin)
- Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 837.50ms on /wp-admin/admin.php?page=WPMKTENGINELogin)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 44.68 ▲5.52 |
Dashboard /wp-admin | 3.58 ▲0.28 | 1,212.09 ▲1,161.64 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 1,146.20 ▲1,104.44 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 1,228.82 ▲1,132.82 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 1,138.01 ▲1,107.20 |
Settings /wp-admin/admin.php?page=WPMKTENGINE | 3.43 | 1,162.88 |
Login /wp-admin/admin.php?page=WPMKTENGINELogin | 3.40 | 1,273.89 |
Server storage [IO: ▲4.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 236 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
WPMKTENGINECTA |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPMktgEngine
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 13.27 ▼1.25 | 1.85 ▲0.17 | 42.16 ▼2.22 |
Dashboard /wp-admin | 2,242 ▲65 | 5.73 ▲0.12 | 83.85 ▼16.52 | 38.16 ▼6.19 |
Posts /wp-admin/edit.php | 2,142 ▲39 | 2.38 ▲0.39 | 33.60 ▼10.96 | 33.35 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,568 ▲33 | 23.23 ▲5.15 | 632.18 ▼9.26 | 34.92 ▼40.04 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.49 ▲0.29 | 104.44 ▲1.25 | 43.35 ▲1.26 |
Settings /wp-admin/admin.php?page=WPMKTENGINE | 866 | 2.09 | 28.05 | 28.33 |
Login /wp-admin/admin.php?page=WPMKTENGINELogin | 1,189 | 2.84 | 45.50 | 54.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 did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- WPMKTENGINECTA
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 62× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require_once(ABSPATHWPINC/class-wp-customize-setting.php): failed to open stream: No such file or directory in wp-content/plugins/wpmktgengine/libs/WPME/Customizer/CustomizerSetting.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'WPMKTENGINE\\TemplateRenderer' not found in wp-content/plugins/wpmktgengine/libs/WPME/Extensions/TemplateRenderer.php:30
- > PHP Fatal error
Uncaught Error: Class 'WPME\\Extensions\\Shortcodes\\Base' not found in wp-content/plugins/wpmktgengine/libs/WPME/Extensions/Shortcodes/Form.php:29
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpmktgengine/libs/WPME/Extensions/ElementorShortcodes/ElementorShortcodesCta.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpmktgengine/libs/WPME/Extensions/GuttenbergShortcodes/form/index.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpmktgengine/libs/WPME/Extensions/GuttenbergShortcodes/survey/index.php:22
- > PHP Fatal error
Uncaught Error: Class 'WPMKTENGINE\\Wordpress\\Metabox' not found in wp-content/plugins/wpmktgengine/libs/WPMKTENGINE/Wordpress/MetaboxStyles.php:27
- > PHP Fatal error
Uncaught Error: Class 'WPMKTENGINE\\Wordpress\\Metabox' not found in wp-content/plugins/wpmktgengine/libs/WPMKTENGINE/Wordpress/MetaboxArea.php:31
- > PHP Fatal error
Uncaught Error: Class 'WPME\\WPApi\\Base' not found in wp-content/plugins/wpmktgengine/libs/WPME/WPApi/Forms.php:30
- > PHP Fatal error
Uncaught Error: Class 'WPMKTENGINE\\WidgetCTA' not found in wp-content/plugins/wpmktgengine/libs/WPMKTENGINE/WidgetCTADynamic.php:28
- > PHP Warning
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #5, #6, #7 in wpmktgengine/assets to your readme.txt
wpmktgengine/wpmktgengine.php Passed 13 tests
The main PHP file in "WPMktgEngine" ver. 4.0.20 adds more information about the plugin and also serves as the entry point for this plugin
10 characters long description:
Genoo, LLC
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 plugin28,385 lines of code in 184 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 165 | 3,306 | 11,669 | 21,592 |
JavaScript | 12 | 671 | 1,268 | 4,954 |
CSS | 6 | 125 | 145 | 1,838 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 24.45 |
▷ 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,202 | |
▷ Static methods | 341 | 28.37% |
▷ Public methods | 1,145 | 95.26% |
▷ Protected methods | 21 | 1.75% |
▷ Private methods | 36 | 3.00% |
Functions | 84 | |
▷ Named functions | 9 | 10.71% |
▷ Anonymous functions | 75 | 89.29% |
Constants | 121 | |
▷ Global constants | 34 | 28.10% |
▷ Class constants | 87 | 71.90% |
▷ Public constants | 87 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
21 PNG files occupy 1.59MB with 0.99MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/bgTinyMCECTA.png | 1.21KB | 0.61KB | ▼ 49.80% |
assets/bgMenuIconSingle.png | 0.75KB | 0.48KB | ▼ 36.67% |
assets/logo.png | 47.25KB | 16.11KB | ▼ 65.92% |
screenshot-6.png | 135.95KB | 48.14KB | ▼ 64.59% |
assets/screenshot.png | 2.76KB | 0.13KB | ▼ 95.48% |