Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼15.93ms] Passed 4 tests
This is a short check of server-side resources used by Content Automation Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 42.17 ▼2.93 |
Dashboard /wp-admin | 3.13 ▼0.18 | 27.70 ▼21.82 |
Posts /wp-admin/edit.php | 3.27 ▼0.09 | 34.84 ▼15.53 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 76.74 ▼21.70 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 31.13 ▼4.68 |
Social Helper /wp-admin/admin.php?page=catai-social-helper | 3.11 | 27.38 |
Settings /wp-admin/admin.php?page=catai-settings | 3.11 | 24.98 |
FAQ /wp-admin/admin.php?page=catai-faq | 3.11 | 24.31 |
Article Generator /wp-admin/admin.php?page=catai-generator | 3.11 | 25.12 |
Server storage [IO: ▲4.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Content Automation Toolkit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.24 ▼1.13 | 4.60 ▲2.66 | 43.76 ▲2.32 |
Dashboard /wp-admin | 2,260 ▲72 | 4.88 ▼1.00 | 108.45 ▼1.50 | 90.67 ▲43.71 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.01 ▲0.02 | 41.43 ▲0.75 | 36.13 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,577 ▲63 | 18.73 ▲1.15 | 759.56 ▲141.28 | 65.98 ▲11.01 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.24 ▲0.02 | 109.41 ▲5.27 | 79.88 ▲38.97 |
Social Helper /wp-admin/admin.php?page=catai-social-helper | 831 | 2.02 | 24.81 | 28.27 |
Settings /wp-admin/admin.php?page=catai-settings | 850 | 2.02 | 22.45 | 34.13 |
FAQ /wp-admin/admin.php?page=catai-faq | 920 | 2.14 | 23.40 | 30.39 |
Article Generator /wp-admin/admin.php?page=catai-generator | 828 | 2.02 | 26.68 | 26.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=catai-generator
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- > GET request to /wp-admin/admin.php?page=catai-social-helper
- > Notice in wp-content/plugins/content-automation-toolkit-cat/content-automation-toolkit.php+383
Undefined variable: no_api_message
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-automation-toolkit-cat/content-automation-toolkit.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
content-automation-toolkit-cat/content-automation-toolkit.php 85% from 13 tests
"Content Automation Toolkit" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("content-automation-toolkit-cat.php" instead of "content-automation-toolkit.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 771 characters long)
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
Success! There were no dangerous files found in this plugin777 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 21 | 379 |
CSS | 1 | 75 | 5 | 355 |
JavaScript | 1 | 5 | 2 | 27 |
SVG | 1 | 0 | 1 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.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 | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected