Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.38MB] [CPU: ▲0.57ms] Passed 4 tests
Server-side resources used by Seopic - Intelligent SEO images for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 43.61 ▲4.68 |
Dashboard /wp-admin | 3.72 ▲0.42 | 46.30 ▲0.20 |
Posts /wp-admin/edit.php | 3.77 ▲0.42 | 45.45 ▼4.97 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 94.29 ▲2.36 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 38.93 ▲6.90 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Seopic - Intelligent SEO images for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.19 ▼1.18 | 4.41 ▲2.57 | 40.67 ▲0.82 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.93 | 104.26 ▼12.05 | 38.42 ▼4.36 |
Posts /wp-admin/edit.php | 2,089 ▲11 | 2.00 ▼0.02 | 35.62 ▼10.17 | 33.12 ▼9.38 |
Add New Post /wp-admin/post-new.php | 1,522 ▼20 | 23.09 ▲4.72 | 660.70 ▲63.41 | 52.94 ▲3.22 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▼0.01 | 95.23 ▼21.72 | 41.31 ▼5.33 |
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 detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- 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)
Good news, no errors were detected
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 items
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seopic-intelligent-seo-images/includes/clear-media.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/seopic-intelligent-seo-images/includes/featured-image.php:125
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seopic-intelligent-seo-images/includes/update-status.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/seopic-intelligent-seo-images/includes/post-content.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/seopic-intelligent-seo-images/includes/helpers.php:227
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seopic-intelligent-seo-images/includes/assets.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: search engine optimisation, image renaming, file names optimisation, media seo, gallery images renaming...
seopic-intelligent-seo-images/seopic.php 85% from 13 tests
The entry point to "Seopic - Intelligent SEO images for WordPress" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("seopic-intelligent-seo-images.php" instead of "seopic.php")
- 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 | 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 plugin2,601 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 475 | 537 | 2,401 |
JavaScript | 1 | 19 | 0 | 163 |
CSS | 1 | 5 | 0 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 193.50 |
▷ Minimum class complexity | 138.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 5.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 15 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin