Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼8.63ms] Passed 4 tests
A check of server-side resources used by Manceppo B2B Marketing Hub
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 44.49 ▲2.17 |
Dashboard /wp-admin | 3.59 ▲0.25 | 55.29 ▼9.90 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 50.52 ▼3.83 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 89.33 ▼22.96 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 40.91 ▲3.99 |
Add new form /wp-admin/post-new.php?post_type=manceppo_download | 3.55 | 45.44 |
Sync /wp-admin/edit.php?post_type=manceppo_download&page=manceppo_sync_settings | 3.42 | 33.63 |
All download forms /wp-admin/edit.php?post_type=manceppo_download | 3.50 | 38.57 |
Connect /wp-admin/edit.php?post_type=manceppo_download&page=manceppo_connection_settings | 3.44 | 35.82 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Manceppo B2B Marketing Hub
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲204 | 13.54 ▼0.81 | 8.33 ▲6.64 | 38.80 ▼2.25 |
Dashboard /wp-admin | 2,232 ▲52 | 5.69 ▲0.03 | 85.04 ▼2.41 | 52.94 ▲11.18 |
Posts /wp-admin/edit.php | 2,137 ▲40 | 2.02 ▲0.02 | 33.12 ▼7.28 | 35.14 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.07 ▼0.17 | 655.08 ▼40.27 | 61.99 ▼1.20 |
Media Library /wp-admin/upload.php | 1,440 ▲37 | 4.11 ▼0.10 | 99.72 ▼11.31 | 42.99 ▼4.77 |
Add new form /wp-admin/post-new.php?post_type=manceppo_download | 1,492 | 2.52 | 50.67 | 65.98 |
Sync /wp-admin/edit.php?post_type=manceppo_download&page=manceppo_sync_settings | 816 | 2.03 | 24.34 | 28.09 |
All download forms /wp-admin/edit.php?post_type=manceppo_download | 1,106 | 1.99 | 32.92 | 28.71 |
Connect /wp-admin/edit.php?post_type=manceppo_download&page=manceppo_connection_settings | 950 | 2.01 | 24.97 | 31.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function manceppo\\_wp_json_convert_string() in wp-content/plugins/manceppo-inbound-marketing/admin/partials/page-editor-download-select-data.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function manceppo\\wp_nonce_field() in wp-content/plugins/manceppo-inbound-marketing/admin/partials/connection-settings.php:99
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/manceppo-inbound-marketing/manceppo.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function manceppo\\add_action() in wp-content/plugins/manceppo-inbound-marketing/admin/partials/download-edit-form.php:501
- > PHP Fatal error
Uncaught Error: Call to undefined function manceppo\\add_action() in wp-content/plugins/manceppo-inbound-marketing/public/frontend.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function manceppo\\esc_url() in wp-content/plugins/manceppo-inbound-marketing/admin/partials/page-editor-manceppo-button.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function manceppo\\wp_nonce_field() in wp-content/plugins/manceppo-inbound-marketing/admin/partials/sync-settings.php:55
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: marketing, form builder, content, automation, mailchimp
manceppo-inbound-marketing/manceppo.php 77% from 13 tests
The primary PHP file in "Manceppo B2B Marketing Hub" version 0.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("manceppo-inbound-marketing.php" instead of "manceppo.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 443 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin2,315 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 493 | 1,060 | 2,048 |
JavaScript | 3 | 15 | 8 | 180 |
CSS | 3 | 17 | 0 | 87 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.87 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 49 | 44.95% |
▷ Public methods | 93 | 85.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 14.68% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 4 | 13.79% |
▷ Class constants | 25 | 86.21% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/manceppo.png | 1.92KB | 1.47KB | ▼ 23.45% |