Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.84ms] Passed 4 tests
Analyzing server-side resources used by Clean Image Filenames
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 35.37 ▼2.57 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.40 ▼15.87 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.26 ▲3.59 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.34 ▼5.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.52 ▲0.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
clean_image_filenames_plugin_version |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
clean_image_filenames_mime_types |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Clean Image Filenames
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.32 ▼0.32 | 1.57 ▼0.54 | 39.94 ▲1.00 |
Dashboard /wp-admin | 2,189 ▲15 | 5.59 ▲0.01 | 87.70 ▼2.42 | 42.09 ▼1.67 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.95 ▼0.06 | 41.54 ▲3.50 | 35.19 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▼0.17 | 593.51 ▼91.97 | 52.26 ▼12.01 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.11 | 92.33 ▼13.91 | 42.75 ▼2.10 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: images, media, files, sanitize, upload
clean-image-filenames/clean-image-filenames.php Passed 13 tests
The entry point to "Clean Image Filenames" version 1.4 is a PHP file that has certain tags in its header comment area
136 characters long description:
This plugin automatically converts language accent characters to non-accent characters in filenames when uploading to the media library.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected371 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 47 | 167 | 332 |
PO File | 1 | 6 | 6 | 39 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin