Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.82ms] Passed 4 tests
A check of server-side resources used by iOS images fixer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.72 ▼4.15 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.15 ▼1.42 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.53 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.67 ▼15.18 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.60 ▲3.53 |
Fix iOS images /wp-admin/upload.php?page=ios-images-fixer | 3.25 | 33.37 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for iOS images fixer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.14 ▼0.42 | 1.65 ▼0.47 | 39.10 ▼2.32 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▼0.03 | 93.89 ▲0.97 | 40.28 ▼0.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.05 | 34.41 ▼5.48 | 36.51 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.44 ▼0.15 | 676.54 ▼51.27 | 55.46 ▼1.89 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.12 ▼0.02 | 110.99 ▼4.80 | 48.21 ▼0.88 |
Fix iOS images /wp-admin/upload.php?page=ios-images-fixer | 818 | 2.08 | 41.84 | 27.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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 task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ios-images-fixer/ios-fixer-page.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/ios-images-fixer/list-media.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/ios-images-fixer/list-media.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ios-images-fixer/list-media.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ios-images-fixer/image-fixer.php:55
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: ios, media, thumbnails, images, iphone...
ios-images-fixer/image-fixer.php 85% from 13 tests
The entry point to "iOS images fixer" version 1.2.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("ios-images-fixer.php" instead of "image-fixer.php")
- Description: The description should be shorter than 140 characters (currently 338 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected385 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 83 | 128 | 370 |
JavaScript | 1 | 1 | 0 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 24 | |
▷ Static methods | 10 | 41.67% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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