Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼3.04ms] Passed 4 tests
Server-side resources used by integrate automate
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 37.92 ▲2.03 |
Dashboard /wp-admin | 3.82 ▲0.52 | 48.61 ▲1.51 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 51.88 ▲10.18 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 85.57 ▼17.08 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 38.36 ▲1.40 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 3.95 | 33.60 |
Server storage [IO: ▲5.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 193 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-posts |
fs_gdpr |
theysaidso_admin_options |
fs_active_plugins |
db_upgraded |
widget_recent-comments |
INTEGRATE_AUTOMATE_INSTALL |
fs_accounts |
can_compress_scripts |
INTEGRATE_AUTOMATE_VERSION |
... |
Browser metrics Passed 4 tests
integrate automate: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 13.41 ▼0.99 | 7.58 ▲5.96 | 28.62 ▼11.82 |
Dashboard /wp-admin | 2,225 ▲45 | 5.54 ▼0.12 | 86.18 ▼5.57 | 40.47 ▲0.86 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 1.98 ▲0.03 | 34.94 ▼1.45 | 33.77 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 18.27 ▼4.80 | 644.56 ▼32.36 | 70.78 ▲15.14 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.17 ▼0.05 | 96.78 ▼13.27 | 46.82 ▲0.72 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,089 | 1.66 | 27.07 | 29.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/integrate-automate/includes/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 12 options
- fs_accounts
- fs_active_plugins
- can_compress_scripts
- widget_recent-comments
- INTEGRATE_AUTOMATE_VERSION
- fs_debug_mode
- INTEGRATE_AUTOMATE_INSTALL
- db_upgraded
- theysaidso_admin_options
- fs_gdpr
- ...
Smoke tests 50% 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 0% from 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/integrate-automate/public/partials/integrate-automate-public-display.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/integrate-automate/admin/partials/integrate-automate-edit-integration-display.php:14
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/integrate-automate/includes/class-integrate-automate-list-table.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/integrate-automate/includes/class-integrate-automate-list-table.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/integrate-automate/admin/partials/integrate-automate-new-integration-display.php:17
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/integrate-automate/includes/class-integrate-automate-list-table.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: automate, webhook, integration, zapier, automation...
integrate-automate/integrate-automate.php 92% from 13 tests
The primary PHP file in "integrate automate" version 1.0.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin32,641 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 7,550 | 17,089 | 32,421 |
JavaScript | 5 | 38 | 113 | 200 |
CSS | 13 | 0 | 8 | 14 |
INI | 1 | 0 | 0 | 6 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,219 | |
▷ Static methods | 175 | 14.36% |
▷ Public methods | 874 | 71.70% |
▷ Protected methods | 15 | 1.23% |
▷ Private methods | 330 | 27.07% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 124 | |
▷ Global constants | 99 | 79.84% |
▷ Class constants | 25 | 20.16% |
▷ Public constants | 25 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 1.33MB with 0.81MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
integrate_automate_asset/banner-1544x500.png | 68.91KB | 14.59KB | ▼ 78.82% |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
integrate_automate_asset/screenshot-3.png | 624.90KB | 202.80KB | ▼ 67.55% |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
integrate_automate_asset/screenshot-2.png | 155.92KB | 51.84KB | ▼ 66.75% |