Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.21ms] Passed 4 tests
A check of server-side resources used by AiWriter: Automatic WordPress AI Writer, Copywriting Assistant & Content Repurposer / OpenAI GPT
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.99 ▲1.31 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.54 ▼8.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.30 ▼0.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.98 ▼25.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.27 ▼5.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AiWriter: Automatic WordPress AI Writer, Copywriting Assistant & Content Repurposer / OpenAI GPT
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.17 ▼0.10 | 1.78 ▼0.15 | 43.00 ▲2.11 |
Dashboard /wp-admin | 2,192 ▲15 | 5.63 ▲0.02 | 90.72 ▲3.69 | 41.64 ▼1.96 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.02 | 39.34 ▲2.08 | 35.30 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 18.36 ▼4.81 | 628.61 ▼16.85 | 70.36 ▲18.20 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.00 | 95.18 ▼4.14 | 42.90 ▼1.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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
Everything seems fine, however 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Parse error
syntax error, unexpected '|', expecting '{' in wp-content/plugins/aiwriter/aiwriter.php on line 231
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
aiwriter/aiwriter.php 92% from 13 tests
The main PHP script in "AiWriter: Automatic WordPress AI Writer, Copywriting Assistant & Content Repurposer / OpenAI GPT" version 0.10.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("8.0" instead of "8.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin847 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 146 | 106 | 700 |
PO File | 1 | 21 | 26 | 96 |
Markdown | 1 | 14 | 0 | 42 |
CSS | 3 | 0 | 0 | 6 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 1 | |
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 | 33 | |
▷ Named functions | 19 | 57.58% |
▷ Anonymous functions | 14 | 42.42% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected