Benchmarks
Plugin footprint 65% 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.16MB] [CPU: ▲0.22ms] Passed 4 tests
Server-side resources used by Copywriter Robin's Blog Generator: AI-Powered and Effortless Blogging
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 36.99 ▼4.18 |
Dashboard /wp-admin | 3.50 ▲0.19 | 45.09 ▼4.66 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.39 ▲3.32 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 91.99 ▲6.41 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.85 ▲7.91 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 111 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_copywriter_robin_plugin_users |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Copywriter Robin's Blog Generator: AI-Powered and Effortless Blogging: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲112 | 13.27 ▼1.41 | 1.76 ▼0.13 | 36.56 ▼8.98 |
Dashboard /wp-admin | 2,227 ▲39 | 4.88 ▼0.97 | 106.38 ▲2.47 | 83.40 ▲44.84 |
Posts /wp-admin/edit.php | 2,110 ▲24 | 2.01 ▼0.00 | 38.84 ▲0.42 | 39.33 ▲6.10 |
Add New Post /wp-admin/post-new.php | 1,551 ▲31 | 22.95 ▼0.29 | 738.76 ▲61.17 | 61.67 ▲6.54 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.27 ▲0.03 | 106.06 ▲0.84 | 85.41 ▲43.17 |
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
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_copywriter_robin_plugin_users
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 31× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\AdapterInterface' not found in wp-content/plugins/copywriter-robin/vendor/vlucas/phpdotenv/src/Repository/Adapter/ApacheAdapter.php:11
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Polyfill\\Php80\\PhpToken' not found in wp-content/plugins/copywriter-robin/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\RepositoryInterface' not found in wp-content/plugins/copywriter-robin/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php:11
- > PHP Notice
Undefined index: GIPHY_API_KEY in wp-content/plugins/copywriter-robin/pages/generated.php on line 2
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\ReaderInterface' not found in wp-content/plugins/copywriter-robin/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/copywriter-robin/pages/generated.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\WriterInterface' not found in wp-content/plugins/copywriter-robin/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php:7
- > PHP Fatal error
Uncaught Error: Class 'GrahamCampbell\\ResultType\\Result' not found in wp-content/plugins/copywriter-robin/vendor/graham-campbell/result-type/src/Success.php:24
- > PHP Fatal error
Uncaught Error: Class 'PhpOption\\Option' not found in wp-content/plugins/copywriter-robin/vendor/phpoption/phpoption/src/PhpOption/LazyOption.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Dotenv\\Repository\\Adapter\\WriterInterface' not found in wp-content/plugins/copywriter-robin/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: ""
copywriter-robin/copywriter-robin.php 92% from 13 tests
The primary PHP file in "Copywriter Robin's Blog Generator: AI-Powered and Effortless Blogging" version 1.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin7,936 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 80 | 1,034 | 2,569 | 6,947 |
JSON | 8 | 0 | 0 | 765 |
CSS | 1 | 30 | 0 | 187 |
Markdown | 3 | 13 | 0 | 37 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 8.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 40 | 80.00% |
Methods | 355 | |
▷ Static methods | 135 | 38.03% |
▷ Public methods | 306 | 86.20% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 49 | 13.80% |
Functions | 164 | |
▷ Named functions | 113 | 68.90% |
▷ Anonymous functions | 51 | 31.10% |
Constants | 28 | |
▷ Global constants | 7 | 25.00% |
▷ Class constants | 21 | 75.00% |
▷ Public constants | 9 | 42.86% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.28MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/copywriter_old.png | 31.24KB | 12.42KB | ▼ 60.25% |
images/banner-1544x500.png | 110.63KB | 39.48KB | ▼ 64.31% |
images/banner-772x250.png | 66.22KB | 17.64KB | ▼ 73.36% |
images/copywriter-icon.png | 2.76KB | 1.63KB | ▼ 41.22% |
images/copywriter-new.png | 30.78KB | 11.56KB | ▼ 62.44% |