Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲5.43MB] [CPU: ▲23.57ms] 75% from 4 tests
This is a short check of server-side resources used by Bulk Auto Image Title Attribute (Image Title tag) optimizer (Image SEO)
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.43MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.26 ▲5.80 | 68.07 ▲29.86 |
Dashboard /wp-admin | 9.28 ▲5.98 | 70.49 ▲18.91 |
Posts /wp-admin/edit.php | 9.28 ▲5.92 | 78.56 ▲31.64 |
Add New Post /wp-admin/post-new.php | 9.93 ▲4.04 | 108.90 ▲14.36 |
Media Library /wp-admin/upload.php | 9.28 ▲6.05 | 66.03 ▲31.15 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.28 | 55.57 |
Server storage [IO: ▲3.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 233 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_accounts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
fs_debug_mode |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
fs_active_plugins |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Auto Image Title Attribute (Image Title tag) optimizer (Image SEO)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 14.35 ▼0.32 | 2.19 ▲0.09 | 27.33 ▼14.27 |
Dashboard /wp-admin | 2,229 ▲52 | 5.59 ▼0.01 | 98.39 ▲13.63 | 47.17 ▲3.07 |
Posts /wp-admin/edit.php | 2,138 ▲41 | 2.04 ▲0.02 | 34.45 ▲0.59 | 35.63 ▼0.63 |
Add New Post /wp-admin/post-new.php | 6,290 ▲4,764 | 26.17 ▲2.44 | 817.09 ▲123.70 | 55.29 ▲5.11 |
Media Library /wp-admin/upload.php | 1,437 ▲34 | 4.26 ▲0.05 | 97.05 ▲1.90 | 45.98 ▲1.78 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,102 | 1.74 | 24.26 | 29.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/bulk-image-title-attribute/vendor/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 9 options
- fs_active_plugins
- fs_debug_mode
- theysaidso_admin_options
- fs_accounts
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Pagup\\Bigta\\Controllers\\add_filter() in wp-content/plugins/bulk-image-title-attribute/app/controllers/DomController.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function Pagup\\Bigta\\Controllers\\add_action() in wp-content/plugins/bulk-image-title-attribute/app/controllers/MetaboxController.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/bulk-image-title-attribute/app/views/layout/top.view.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bulk-image-title-attribute/app/views/promo/robot.php:7
- > PHP Fatal error
Uncaught Error: Class 'Pagup\\Bigta\\Core\\Plugin' not found in wp-content/plugins/bulk-image-title-attribute/app/controllers/NoticeController.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/bulk-image-title-attribute/app/views/notices/support.view.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/bulk-image-title-attribute/app/views/layout/top.view.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bulk-image-title-attribute/app/views/promo/vidseo.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/bulk-image-title-attribute/app/views/metabox.view.php:3
- > PHP Fatal error
Uncaught Error: Class 'Pagup\\Bigta\\Controllers\\MetaboxController' not found in wp-content/plugins/bulk-image-title-attribute/app/Settings.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: google images, title attribute, title tag, image title
bulk-image-title-attribute/bulk-image-title-attribute.php 85% from 13 tests
"Bulk Auto Image Title Attribute (Image Title tag) optimizer (Image SEO)" version 1.2.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
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 detected35,816 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 148 | 8,310 | 17,564 | 35,022 |
CSS | 14 | 25 | 13 | 541 |
JavaScript | 5 | 48 | 62 | 244 |
JSON | 2 | 0 | 0 | 9 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 74.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 2 | 3.23% |
▷ Concrete classes | 60 | 96.77% |
▷ Final classes | 0 | 0.00% |
Methods | 1,325 | |
▷ Static methods | 217 | 16.38% |
▷ Public methods | 935 | 70.57% |
▷ Protected methods | 17 | 1.28% |
▷ Private methods | 373 | 28.15% |
Functions | 103 | |
▷ Named functions | 102 | 99.03% |
▷ Anonymous functions | 1 | 0.97% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.34MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
app/assets/imgs/p01.png | 7.72KB | 4.95KB | ▼ 35.87% |
app/assets/imgs/p09.png | 6.65KB | 3.68KB | ▼ 44.60% |
app/assets/imgs/meta-box.png | 134.27KB | 38.03KB | ▼ 71.68% |
app/assets/imgs/p02.png | 2.50KB | 0.65KB | ▼ 74.01% |
app/assets/imgs/5.png | 28.95KB | 8.79KB | ▼ 69.64% |