Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Error in wp-content/plugins/ainsys-integrations-framework-connector/plugin.php+47
Uncaught Error: Class 'Ainsys\Connector\Master\Plugin' not found in wp-content/plugins/ainsys-integrations-framework-connector/plugin.php:47
Stack trace:
#0 wp-admin/includes/plugin.php(2318): include_once()
#1 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.93ms] Passed 4 tests
Analyzing server-side resources used by AINSYS Integrations framework connector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.30 ▼5.05 |
Dashboard /wp-admin | 3.31 ▲0.00 | 55.29 ▲7.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.47 ▼6.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.85 ▼14.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.08 ▲2.80 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for AINSYS Integrations framework connector
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.07 | 1.87 ▲0.11 | 43.89 ▲3.13 |
Dashboard /wp-admin | 2,195 ▲18 | 5.59 ▼0.08 | 86.89 ▼5.97 | 38.57 ▼2.94 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.97 ▼0.07 | 35.52 ▼5.20 | 36.57 ▼4.96 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.21 ▲0.00 | 628.50 ▼18.64 | 60.49 ▲5.93 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.00 | 97.25 ▼9.45 | 42.45 ▼3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 47× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: args in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/templates/tabs/entities.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/templates/tabs/entities.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'Ainsys\\Connector\\Master\\Webhooks\\Handle' not found in wp-content/plugins/ainsys-integrations-framework-connector/includes/webhooks/class-handle-page.php:9
- > PHP Fatal error
Uncaught Error: Class 'Ainsys\\Connector\\Master\\WP\\Process' not found in wp-content/plugins/ainsys-integrations-framework-connector/includes/wp/class-process-pages.php:8
- > PHP Fatal error
Uncaught Error: Class 'Ainsys\\Connector\\Master\\WP\\Process' not found in wp-content/plugins/ainsys-integrations-framework-connector/includes/wp/class-process-users.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Ainsys\\Connector\\Master\\Hooked' not found in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/class-settings.php:15
- > PHP Notice
Undefined variable: args in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/templates/tabs/logs.php on line 14
- > PHP Notice
Undefined variable: args in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/templates/tabs/tests.php on line 17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/templates/tabs/general.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ainsys-integrations-framework-connector/includes/settings/templates/tabs/logs.php on line 15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: data exchange, automation, service integration
ainsys-integrations-framework-connector/plugin.php 92% from 13 tests
The main PHP script in "AINSYS Integrations framework connector" version 4.3.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ainsys-integrations-framework-connector.php" instead of "plugin.php")
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
Everything looks great! No dangerous files found in this plugin6,130 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 1,447 | 1,437 | 4,610 |
CSS | 2 | 192 | 8 | 873 |
JavaScript | 2 | 85 | 14 | 395 |
PO File | 1 | 72 | 80 | 175 |
SVG | 4 | 0 | 0 | 77 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 12.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 2 | |
Traits | 3 | |
Classes | 29 | |
▷ Abstract classes | 1 | 3.45% |
▷ Concrete classes | 28 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 231 | |
▷ Static methods | 95 | 41.13% |
▷ Public methods | 180 | 77.92% |
▷ Protected methods | 39 | 16.88% |
▷ Private methods | 12 | 5.19% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 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
There are no PNG files in this plugin