Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.85MB] [CPU: ▲0.13ms] Passed 4 tests
A check of server-side resources used by Text Prompter - Unlimited chatgpt text prompts for openai tasks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.66 | 45.26 ▲7.79 |
Dashboard /wp-admin | 4.24 ▲0.94 | 57.04 ▲0.09 |
Posts /wp-admin/edit.php | 4.35 ▲0.99 | 53.01 ▼2.20 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.89 | 95.62 ▼5.15 |
Media Library /wp-admin/upload.php | 4.16 ▲0.93 | 45.07 ▲9.44 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 117 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wai_prompts |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Text Prompter - Unlimited chatgpt text prompts for openai tasks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲161 | 13.48 ▼0.87 | 8.56 ▲6.97 | 40.88 ▼0.33 |
Dashboard /wp-admin | 2,247 ▲70 | 5.64 ▲0.09 | 81.28 ▼12.99 | 78.81 ▲35.86 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 1.99 ▼0.04 | 32.82 ▼3.23 | 34.10 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,583 ▲55 | 23.12 ▼0.12 | 616.10 ▼25.61 | 35.35 ▼15.42 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.21 ▲0.01 | 100.25 ▼14.65 | 80.67 ▲33.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_wai_prompts
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 20× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Flippercode_Factory_Model' not found in wp-content/plugins/ai-content/classes/wai-model.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ai-content/modules/settings/views/test.php:3
- > PHP Fatal error
Uncaught Error: Class 'FlipperCode_Model_Base' not found in wp-content/plugins/ai-content/modules/overview/model.overview.php:18
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ai-content/core/inc/modals/delete-bulk.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ai-content/core/inc/modals/custom-action.php:5
- > PHP Fatal error
Uncaught Error: Class 'WAI_FORM' not found in wp-content/plugins/ai-content/modules/overview/views/view.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-content/core/class.tabular.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'WAI_FORM' not found in wp-content/plugins/ai-content/modules/prompt/views/import.php:9
- > 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/ai-content/core/class.tabular.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'WAI_FORM' not found in wp-content/plugins/ai-content/modules/overview/views/how.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
ai-content/text-prompter.php 85% from 13 tests
The entry point to "Text Prompter - Unlimited chatgpt text prompts for openai tasks" version 1.0.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ai-content.php" instead of "text-prompter.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected17,842 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 1,692 | 504 | 8,500 |
PHP | 32 | 2,555 | 1,653 | 4,977 |
JavaScript | 5 | 809 | 498 | 4,365 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 101)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 49.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 375.00 |
Average method complexity | 5.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 101.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 215 | |
▷ Static methods | 46 | 21.40% |
▷ Public methods | 184 | 85.58% |
▷ Protected methods | 12 | 5.58% |
▷ Private methods | 19 | 8.84% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
65 PNG files occupy 0.43MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/back-skin/body-bg11.png | 0.22KB | 0.32KB | 0.00% |
assets/images/white_select_arrow.png | 2.79KB | 0.17KB | ▼ 93.74% |
assets/images/select_arrow.png | 2.79KB | 0.19KB | ▼ 93.22% |
assets/images/arrow.png | 3.02KB | 0.54KB | ▼ 82.24% |
assets/images/back-skin/body-bg15.png | 1.22KB | 1.26KB | 0.00% |