Benchmarks
Plugin footprint Passed 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: ▼0.00MB] [CPU: ▼151.10ms] Passed 4 tests
This is a short check of server-side resources used by ConvergeHub For Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 41.46 ▲17.40 |
Dashboard /wp-admin | 3.06 ▲0.00 | 53.47 ▲6.23 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 51.26 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 96.42 ▼608.47 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.79 ▼4.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by ConvergeHub For Contact Form 7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.91 ▲0.35 | 11.64 ▲2.76 | 50.92 ▲0.41 |
Dashboard /wp-admin | 2,970 ▲39 | 6.08 ▲0.16 | 151.37 ▲3.85 | 120.07 ▼3.99 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.01 | 70.36 ▼5.31 | 95.14 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.77 ▲0.22 | 392.65 ▼47.81 | 113.18 ▼13.41 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.00 | 157.94 ▼6.05 | 125.13 ▼8.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/convergehub-forms-add-on-for-contact-form-7/convergeHub-forms-add-on-for-contact-form-7.php on line 12
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/convergehub-forms-add-on-for-contact-form-7/convergeHub-forms-add-on-for-contact-form-7.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/convergehub-forms-add-on-for-contact-form-7/convergeHub-forms-add-on-for-contact-form-7.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/convergehub-forms-add-on-for-contact-form-7/convergeHub-forms-add-on-for-contact-form-7.php:13
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: contact form 7, convergehub, convergehub api, convergehub leads, convergehub api integration...
convergehub-forms-add-on-for-contact-form-7/convergeHub-forms-add-on-for-contact-form-7.php 92% from 13 tests
The principal PHP file in "ConvergeHub For Contact Form 7" v. 1.0.12 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("convergehub-forms-add-on-for-contact-form-7.php" instead of "convergeHub-forms-add-on-for-contact-form-7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin313 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 8 | 25 | 244 |
CSS | 1 | 3 | 0 | 69 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
assets/images/convergehubLogo.png | 1.27KB | 0.29KB | ▼ 76.98% |