Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.67MB] [CPU: ▼2.49ms] Passed 4 tests
Analyzing server-side resources used by Flusso AI: ChatGPT Content Generator, AI Tools for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 48.59 ▲5.54 |
Dashboard /wp-admin | 4.04 ▲0.69 | 59.71 ▼11.96 |
Posts /wp-admin/edit.php | 4.09 ▲0.73 | 57.90 ▲9.22 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.70 | 95.11 ▼10.97 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 49.05 ▲7.42 |
Settings /wp-admin/admin.php?page=flusso-ai-settings | 3.87 | 39.06 |
Playground /wp-admin/admin.php?page=flusso-ai-playground | 3.92 | 48.88 |
Content Features /wp-admin/admin.php?page=flusso-ai-content-features | 3.87 | 43.09 |
Flusso AI /wp-admin/admin.php?page=flusso-ai-generated-content | 3.87 | 47.16 |
Delete Content /wp-admin/admin.php?page=flusso-ai-delete | 3.87 | 39.35 |
Image Generator /wp-admin/admin.php?page=flusso-ai-image-generator | 3.87 | 42.97 |
Post Creator /wp-admin/admin.php?page=flusso-ai-post-creator | 3.93 | 49.20 |
Speech to Text /wp-admin/admin.php?page=flusso-ai-speech-to-text | 3.91 | 55.43 |
Server storage [IO: ▲3.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_emn_fl_comments_sentiment |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flusso AI: ChatGPT Content Generator, AI Tools for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.40 ▼0.99 | 4.40 ▲2.34 | 36.57 ▼5.97 |
Dashboard /wp-admin | 2,305 ▲128 | 4.99 ▼0.56 | 94.18 ▼5.97 | 41.46 ▼3.42 |
Posts /wp-admin/edit.php | 2,214 ▲111 | 2.42 ▲0.43 | 40.46 ▲4.32 | 36.37 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,774 ▲246 | 21.51 ▼1.76 | 703.37 ▲34.07 | 85.60 ▲33.42 |
Media Library /wp-admin/upload.php | 1,586 ▲183 | 4.58 ▲0.39 | 114.85 ▲13.07 | 47.60 ▲1.30 |
Settings /wp-admin/admin.php?page=flusso-ai-settings | 1,084 | 2.05 | 35.38 | 105.22 |
Playground /wp-admin/admin.php?page=flusso-ai-playground | 1,373 | 4.88 | 62.06 | 118.11 |
Content Features /wp-admin/admin.php?page=flusso-ai-content-features | 2,655 | 2.60 | 63.34 | 83.83 |
Flusso AI /wp-admin/admin.php?page=flusso-ai-generated-content | 1,553 | 2.06 | 37.72 | 81.85 |
Delete Content /wp-admin/admin.php?page=flusso-ai-delete | 997 | 2.03 | 31.37 | 42.55 |
Image Generator /wp-admin/admin.php?page=flusso-ai-image-generator | 1,161 | 2.02 | 31.33 | 57.76 |
Post Creator /wp-admin/admin.php?page=flusso-ai-post-creator | 2,142 | 7.68 | 143.40 | 105.35 |
Speech to Text /wp-admin/admin.php?page=flusso-ai-speech-to-text | 1,396 | 4.89 | 56.39 | 70.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_emn_fl_comments_sentiment
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flusso-ai-generated-content/inc/meta-boxes.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flusso-ai-generated-content/inc/functions.php:2112
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flusso-ai-generated-content/inc/engine/core.php:944
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/flusso-ai-generated-content/main.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: openai, gpt-4, whisper, ai, chatgpt...
flusso-ai-generated-content/main.php 85% from 13 tests
This is the main PHP file of "Flusso AI: ChatGPT Content Generator, AI Tools for WordPress" version 0.9.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 237 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("flusso-ai-generated-content.php" instead of "main.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
Success! There were no dangerous files found in this plugin11,515 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 1,248 | 54 | 5,791 |
PHP | 17 | 537 | 933 | 3,678 |
PO File | 1 | 512 | 626 | 1,303 |
JavaScript | 7 | 95 | 90 | 621 |
JSON | 3 | 0 | 0 | 103 |
Markdown | 1 | 4 | 0 | 17 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 19.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 35 | 36.46% |
▷ Public methods | 92 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 4.17% |
Functions | 67 | |
▷ Named functions | 66 | 98.51% |
▷ Anonymous functions | 1 | 1.49% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/symbol.png | 10.95KB | 10.79KB | ▼ 1.48% |