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.08MB] [CPU: ▼138.63ms] Passed 4 tests
A check of server-side resources used by Campaigns Integrator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 42.38 ▲21.61 |
Dashboard /wp-admin | 3.13 ▲0.08 | 48.99 ▲5.32 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 45.19 ▲9.00 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 96.77 ▼565.27 |
Media Library /wp-admin/upload.php | 3.08 ▲0.07 | 36.06 ▼3.55 |
Zoho Campaigns Integrator /wp-admin/admin.php?page=zoho-campaigns-integrator-main-menu | 3.02 | 27.07 |
reCAPTCHA /wp-admin/admin.php?page=recaptcha-settings | 3.02 | 29.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was 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 Campaigns Integrator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,869 ▲273 | 16.82 ▲1.21 | 16.49 ▲6.53 | 45.16 ▼2.03 |
Dashboard /wp-admin | 3,007 ▲76 | 5.97 ▼0.16 | 136.44 ▼21.60 | 113.83 ▲6.55 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.71 ▼0.01 | 64.49 ▼1.20 | 91.71 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,705 ▲205 | 18.73 ▲0.25 | 409.51 ▲30.29 | 108.66 ▲3.19 |
Media Library /wp-admin/upload.php | 1,841 ▲34 | 5.07 ▲0.03 | 178.29 ▲32.63 | 113.38 ▼7.84 |
Zoho Campaigns Integrator /wp-admin/admin.php?page=zoho-campaigns-integrator-main-menu | 1,065 | 2.10 | 58.41 | 80.64 |
reCAPTCHA /wp-admin/admin.php?page=recaptcha-settings | 1,073 | 2.15 | 55.68 | 79.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=recaptcha-settings
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=recaptcha-settings
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=recaptcha-settings
- > Notice in wp-content/plugins/campaigns-integrator/zoho-campaigns-integrator.php+153
Trying to access array offset on value of type bool
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
campaigns-integrator/zoho-campaigns-integrator.php 85% from 13 tests
The entry point to "Campaigns Integrator" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("campaigns-integrator.php" instead of "zoho-campaigns-integrator.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 508 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin424 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 133 | 114 | 379 |
JavaScript | 2 | 14 | 24 | 39 |
CSS | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.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 | 24 | |
▷ Named functions | 24 | 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
There were not PNG files found in your plugin