Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.08MB] [CPU: ▼3.62ms] Passed 4 tests
Analyzing server-side resources used by fasterImage Image Optimizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.07 ▼6.28 |
Dashboard /wp-admin | 4.74 ▲1.39 | 54.01 ▼10.06 |
Posts /wp-admin/edit.php | 4.85 ▲1.50 | 57.45 ▲7.51 |
Add New Post /wp-admin/post-new.php | 7.32 ▲1.43 | 101.06 ▼3.82 |
Media Library /wp-admin/upload.php | 4.66 ▲1.43 | 43.74 ▲5.70 |
fasterImage /wp-admin/options-general.php?page=fasterimage_settings | 6.22 | 55.00 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 196 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
fasterimage_account_valid_expiration |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
fasterimage_admin_notices |
fasterimage_account_valid |
db_upgraded |
fasterimage_enabled |
Browser metrics Passed 4 tests
An overview of browser requirements for fasterImage Image Optimizer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.35 ▼0.05 | 1.74 ▼0.17 | 39.19 ▼3.74 |
Dashboard /wp-admin | 2,215 ▲35 | 5.61 ▼0.04 | 90.42 ▼7.14 | 43.35 ▼2.40 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.01 ▲0.00 | 39.15 ▲1.75 | 38.07 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,552 ▲17 | 18.08 ▲0.01 | 591.79 ▼74.39 | 76.63 ▲15.70 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.21 ▼0.04 | 95.32 ▼3.11 | 44.74 ▲0.77 |
fasterImage /wp-admin/options-general.php?page=fasterimage_settings | 1,877 | 4.25 | 77.31 | 103.63 |
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
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- fasterimage_admin_notices
- theysaidso_admin_options
- fasterimage_account_valid_expiration
- fasterimage_account_valid
- fasterimage_enabled
- widget_recent-posts
- db_upgraded
- can_compress_scripts
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
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
- 166× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_Widget_Model' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Widget/AdminPageFramework_Widget_View.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_Form_Model' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework/AdminPageFramework_Form_View.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_FieldType' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Factory/view/AdminPageFramework_FieldType/AdminPageFramework_FieldType_text.php:8
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Factory/view/AdminPageFramework_FieldType/AdminPageFramework_WalkerTaxonomyChecklist.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_FieldType' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Factory/view/AdminPageFramework_FieldType/AdminPageFramework_FieldType_hidden.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_MetaBox_Model' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_MetaBox/AdminPageFramework_MetaBox_View.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_Debug' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Factory/controller/AdminPageFramework_HelpPane_Base.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_Property_Base' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_MetaBox/model/AdminPageFramework_Property_MetaBox.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_FieldType_image' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Factory/view/AdminPageFramework_FieldType/AdminPageFramework_FieldType_media.php:8
- > PHP Fatal error
Uncaught Error: Class 'fasterImage_AdminPageFramework_FieldType_Base' not found in wp-content/plugins/fasterimage/lib/afp/factory/AdminPageFramework_Factory/view/AdminPageFramework_FieldType/AdminPageFramework_FieldType.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: image compression, picture optimization, image compress, sitespeed, webperf
fasterimage/fasterimage.php Passed 13 tests
The main file in "fasterImage Image Optimizer" v. 2.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
51 characters long description:
Optimisez vos images & accélérez votre site web !
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
Everything looks great! No dangerous files found in this plugin13,457 lines of code in 190 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 187 | 739 | 1,737 | 12,901 |
PO File | 1 | 189 | 205 | 436 |
CSS | 1 | 13 | 0 | 113 |
JavaScript | 1 | 1 | 3 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 11.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 180 | |
▷ Abstract classes | 79 | 43.89% |
▷ Concrete classes | 101 | 56.11% |
▷ Final classes | 2 | 1.98% |
Methods | 1,152 | |
▷ Static methods | 168 | 14.58% |
▷ Public methods | 600 | 52.08% |
▷ Protected methods | 245 | 21.27% |
▷ Private methods | 307 | 26.65% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 3 | 21.43% |
▷ Class constants | 11 | 78.57% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/img/ok.png | 1.32KB | 0.28KB | ▼ 78.54% |
src/img/ko.png | 1.38KB | 0.27KB | ▼ 80.24% |