Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼3.88ms] Passed 4 tests
This is a short check of server-side resources used by Auto Cloudinary
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.58 ▲4.98 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.38 ▼7.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.23 ▼1.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.06 ▼3.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.33 ▼3.48 |
Cloudinary /wp-admin/tools.php?page=auto-cloudinary | 3.25 | 34.17 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Auto Cloudinary
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.01 | 2.00 ▲0.39 | 45.61 ▲0.50 |
Dashboard /wp-admin | 2,202 ▲25 | 5.60 ▼0.06 | 86.37 ▼12.72 | 39.17 ▼5.80 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.07 | 36.10 ▼2.17 | 32.17 ▼7.43 |
Add New Post /wp-admin/post-new.php | 1,531 ▲6 | 23.06 ▼0.64 | 656.85 ▼80.78 | 54.03 ▼5.57 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.25 ▲0.04 | 96.47 ▼9.43 | 44.50 ▼4.85 |
Cloudinary /wp-admin/tools.php?page=auto-cloudinary | 913 | 2.03 | 29.76 | 29.50 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/auto-cloudinary/admin/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function JB\\Cloudinary\\add_action() in wp-content/plugins/auto-cloudinary/inc/namespace.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function JB\\Cloudinary\\add_action() in wp-content/plugins/auto-cloudinary/inc/namespace.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% 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:
- Screenshots: Please add images for these screenshots: #1 (WordPress Options), #2 (Cloudinary Cloud Name), #3 (Cloudinary Auto Upload Setup)
auto-cloudinary/auto-cloudinary.php 92% from 13 tests
The main file in "Auto Cloudinary" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin569 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 95 | 203 | 569 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 25.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 5.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 3 | 17.65% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 8 | 72.73% |
▷ Anonymous functions | 3 | 27.27% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.19MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 89.91KB | 94.65KB | 0.00% |
screenshot-1.png | 39.93KB | 40.50KB | 0.00% |
screenshot-3.png | 62.99KB | 65.07KB | 0.00% |