Benchmarks
Plugin footprint 65% 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.21MB] [CPU: ▼6.92ms] Passed 4 tests
This is a short check of server-side resources used by Fluent Connect - Connect ThriveCart with your WordPress and FluentCRM
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 37.89 ▼5.46 |
Dashboard /wp-admin | 3.51 ▲0.17 | 52.56 ▼17.58 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 49.81 ▼1.60 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 91.68 ▼3.02 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 39.05 ▲2.81 |
Server storage [IO: ▲7.18MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 185 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_fcon_connector_feeds |
wp_fcon_action_logs |
wp_fcon_feed_actions |
wp_fcon_feed_triggers |
wp_fcon_feed_runners |
wp_fcon_meta |
wp_fcon_integrations |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Fluent Connect - Connect ThriveCart with your WordPress and FluentCRM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲15 | 14.70 ▲0.35 | 1.72 ▼0.58 | 42.87 ▲3.42 |
Dashboard /wp-admin | 2,207 ▲30 | 5.50 ▼0.16 | 83.01 ▼20.86 | 41.06 ▼7.04 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.03 ▲0.02 | 37.44 ▼7.39 | 37.82 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 22.88 ▲4.85 | 660.80 ▲19.45 | 52.14 ▼8.74 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.23 ▼0.01 | 100.91 ▼1.29 | 47.23 ▲1.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 7 tables in the database
- wp_fcon_action_logs
- wp_fcon_feed_triggers
- wp_fcon_meta
- wp_fcon_feed_actions
- wp_fcon_connector_feeds
- wp_fcon_feed_runners
- wp_fcon_integrations
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- 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
Even though no errors were found, 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 fix the following items
- 67× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\Framework\\Database\\Orm\\Relations\\Pivot' not found in wp-content/plugins/fluent-connect/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/MorphPivot.php:7
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/fluent-connect/app/Http/Controllers/IntegrationProviders.php:7
- > PHP Fatal error
Uncaught Error: Interface 'FluentConnect\\Framework\\Database\\ConnectionInterface' not found in wp-content/plugins/fluent-connect/vendor/wpfluent/framework/src/WPFluent/Database/Query/WPDBConnection.php:16
- > PHP Fatal error
Uncaught Error: Interface 'FluentConnect\\Framework\\Foundation\\ContainerContract' not found in wp-content/plugins/fluent-connect/vendor/wpfluent/framework/src/WPFluent/Foundation/Container.php:13
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/fluent-connect/app/Http/Controllers/IntegrationController.php:12
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/fluent-connect/app/Http/Controllers/LogsController.php:8
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\Framework\\Database\\Orm\\Model' not found in wp-content/plugins/fluent-connect/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/Pivot.php:8
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\Framework\\Foundation\\RequestGuard' not found in wp-content/plugins/fluent-connect/app/Http/Requests/UserRequest.php:7
- > PHP Fatal error
Uncaught Error: Class 'FluentConnect\\Framework\\Database\\Orm\\Relations\\MorphOneOrMany' not found in wp-content/plugins/fluent-connect/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/MorphOne.php:7
- > PHP Notice
Undefined variable: router in wp-content/plugins/fluent-connect/app/Http/Routes/api.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #3, #4 in fluent-connect/assets to your readme.txt
fluent-connect/fluent-connect.php Passed 13 tests
This is the main PHP file of "Fluent Connect - Connect ThriveCart with your WordPress and FluentCRM" version 0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
33 characters long description:
Connect FluentCRM with ThriveCart
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin14,644 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 4,285 | 10,164 | 14,483 |
JSON | 4 | 0 | 0 | 144 |
SVG | 1 | 0 | 0 | 13 |
JavaScript | 2 | 0 | 1 | 2 |
CSS | 1 | 0 | 0 | 1 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 16 | |
Traits | 8 | |
Classes | 116 | |
▷ Abstract classes | 12 | 10.34% |
▷ Concrete classes | 104 | 89.66% |
▷ Final classes | 0 | 0.00% |
Methods | 1,589 | |
▷ Static methods | 183 | 11.52% |
▷ Public methods | 1,281 | 80.62% |
▷ Protected methods | 304 | 19.13% |
▷ Private methods | 4 | 0.25% |
Functions | 104 | |
▷ Named functions | 5 | 4.81% |
▷ Anonymous functions | 99 | 95.19% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ 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
4 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/thrivecart.png | 6.12KB | 6.35KB | 0.00% |
assets/images/wordpress.png | 23.61KB | 14.30KB | ▼ 39.44% |
assets/images/fluentcrm.png | 6.81KB | 2.84KB | ▼ 58.25% |
assets/images/fluent-support-logo.png | 34.10KB | 13.66KB | ▼ 59.94% |