Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.38ms] Passed 4 tests
A check of server-side resources used by Easy Image Filters
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.38 ▼0.19 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.20 ▼0.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.90 ▼4.61 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.54 ▼11.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.67 ▲3.81 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Image Filters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲111 | 13.45 ▼0.75 | 8.16 ▲6.39 | 46.58 ▼0.47 |
Dashboard /wp-admin | 2,192 ▲15 | 5.58 ▼0.02 | 95.66 ▲2.68 | 44.02 ▲2.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.10 | 35.73 ▼0.58 | 35.19 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.31 ▲0.29 | 661.54 ▼24.38 | 58.49 ▲2.11 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.05 | 106.54 ▼4.97 | 45.86 ▼0.74 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/easy-image-filters/public/partials/easy-image-filters-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-image-filters/admin/partials/easy-image-filters-admin-display.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
easy-image-filters/easy-image-filters.php Passed 13 tests
The main PHP script in "Easy Image Filters" version 1.0.2 is automatically included on every request by WordPress
114 characters long description:
Add cool filters and effects to images without leaving site admin screen. Save new image without loosing original.
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 plugin1,451 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 666 |
JavaScript | 4 | 39 | 37 | 370 |
PHP | 12 | 158 | 538 | 316 |
Sass | 1 | 4 | 0 | 53 |
CSS | 3 | 0 | 12 | 46 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected