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.01MB] [CPU: ▼5.89ms] Passed 4 tests
Server-side resources used by Image Filters
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 42.44 ▲4.72 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.66 ▼5.46 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.53 ▼1.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.01 ▼18.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.61 ▲1.20 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Image Filters
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.25 ▼1.33 | 2.08 ▲0.46 | 41.61 ▲3.34 |
Dashboard /wp-admin | 2,203 ▲18 | 5.79 ▲0.91 | 99.80 ▼16.69 | 38.92 ▼6.69 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 39.85 ▲0.06 | 34.57 ▼6.38 |
Add New Post /wp-admin/post-new.php | 6,585 ▲5,064 | 29.47 ▲6.26 | 898.68 ▲303.33 | 74.90 ▲24.01 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.22 ▲0.02 | 92.39 ▼8.81 | 40.78 ▼2.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/image-filters/image-filters.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: image, block, lofi, filter, dramatic
image-filters/image-filters.php Passed 13 tests
The main PHP file in "Image Filters" ver. 1.2.4 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
Choose from 22 advanced image filters to bring your images to life. No CSS.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,772 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 208 | 2,859 | 1,374 |
TypeScript | 22 | 70 | 46 | 1,153 |
JSON | 7 | 0 | 0 | 163 |
CSS | 3 | 2 | 3 | 51 |
Markdown | 1 | 7 | 0 | 12 |
TOML | 1 | 2 | 0 | 10 |
PHP | 2 | 1 | 13 | 6 |
Rust | 1 | 1 | 6 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin