Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.68MB] [CPU: ▲1.46ms] Passed 4 tests
Server-side resources used by Aiify Blocks - ChatGPT AI Copywriting, Content Writing, Rewriting and Editing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 41.72 ▼1.75 |
Dashboard /wp-admin | 4.04 ▲0.74 | 53.52 ▲5.50 |
Posts /wp-admin/edit.php | 4.09 ▲0.74 | 58.87 ▲11.24 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.65 | 85.85 ▼8.11 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 41.83 ▲10.18 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 4.32 | 42.36 |
Server storage [IO: ▲5.50MB] [DB: ▲0.13MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 250 new files
Database: no new tables, 11 new options
New WordPress options |
---|
AIIFY_WRITING |
fs_accounts |
widget_recent-posts |
widget_theysaidso_widget |
AIIFY |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
fs_debug_mode |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Aiify Blocks - ChatGPT AI Copywriting, Content Writing, Rewriting and Editing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,028 ▲271 | 15.21 ▲0.95 | 1.88 ▼0.27 | 32.90 ▼7.38 |
Dashboard /wp-admin | 2,437 ▲252 | 6.67 ▲0.82 | 132.23 ▲27.59 | 45.16 ▲4.28 |
Posts /wp-admin/edit.php | 2,343 ▲251 | 3.55 ▲1.56 | 51.77 ▲9.15 | 33.85 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,553 ▲11 | 23.28 ▲5.13 | 597.94 ▲0.29 | 33.28 ▼12.14 |
Media Library /wp-admin/upload.php | 1,486 ▲104 | 4.29 ▲0.10 | 88.12 ▼9.35 | 47.66 ▲5.91 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,314 | 3.36 | 41.55 | 27.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.13MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/aiify/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 11 options
- db_upgraded
- AIIFY
- widget_theysaidso_widget
- fs_debug_mode
- fs_accounts
- widget_recent-comments
- fs_active_plugins
- can_compress_scripts
- theysaidso_admin_options
- AIIFY_WRITING
- ...
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 | 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
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require(AIIFY_VENDOR/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/aiify/includes/settings.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'Youniwemi\\StringTemplate\estedKeyIterator' not found in wp-content/plugins/aiify/vendor/youniwemi/string-template/benchmarks/iterator.php:24
- > PHP Fatal error
Uncaught Error: Class 'Youniwemi\\StringTemplate\\Engine' not found in wp-content/plugins/aiify/vendor/youniwemi/string-template/benchmarks/engine.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function AIIFY\\add_action() in wp-content/plugins/aiify/includes/ai.php:20
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/aiify/vendor/youniwemi/string-template/tests/StringTemplate/EngineTest.php:20
- > PHP Warning
include(): Failed opening 'vendor/autoload.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/aiify/vendor/youniwemi/string-template/benchmarks/engine.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function AIIFY\\__() in wp-content/plugins/aiify/includes/constants.php:19
- > PHP Warning
include(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/aiify/vendor/youniwemi/string-template/benchmarks/engine.php on line 15
- > PHP Warning
include(../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/aiify/vendor/youniwemi/string-template/benchmarks/iterator.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/aiify/vendor/youniwemi/string-template/tests/StringTemplate/NestedKeyArrayTest.php:21
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: chatgpt, ai, content, copywriting, openai...
aiify/aiify.php Passed 13 tests
"Aiify Blocks - ChatGPT AI Copywriting, Content Writing, Rewriting and Editing" version 0.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
108 characters long description:
Create and edit content using Chatgpt AI. Improve your content's quality and optimize it for search engines.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected39,977 lines of code in 193 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 144 | 8,558 | 18,391 | 35,946 |
PO File | 4 | 744 | 795 | 1,624 |
Markdown | 6 | 477 | 0 | 1,350 |
JSON | 16 | 0 | 0 | 760 |
JavaScript | 4 | 34 | 59 | 195 |
XML | 3 | 7 | 0 | 44 |
YAML | 1 | 12 | 0 | 36 |
CSS | 13 | 0 | 0 | 13 |
SVG | 2 | 0 | 0 | 9 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 76.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 2 | 3.23% |
▷ Concrete classes | 60 | 96.77% |
▷ Final classes | 0 | 0.00% |
Methods | 1,437 | |
▷ Static methods | 234 | 16.28% |
▷ Public methods | 1,038 | 72.23% |
▷ Protected methods | 19 | 1.32% |
▷ Private methods | 380 | 26.44% |
Functions | 128 | |
▷ Named functions | 107 | 83.59% |
▷ Anonymous functions | 21 | 16.41% |
Constants | 175 | |
▷ Global constants | 123 | 70.29% |
▷ Class constants | 52 | 29.71% |
▷ Public constants | 52 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/wordpress-sdk/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |