Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲0.61ms] Passed 4 tests
Analyzing server-side resources used by WP Media File Type Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 37.43 ▼2.44 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.49 ▼6.40 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.39 ▲6.84 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 99.84 ▲4.46 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 41.34 ▲7.59 |
WP Media File Type /wp-admin/edit.php?post_type=mftype | 3.44 | 55.74 |
Add New /wp-admin/post-new.php?post_type=mftype | 3.76 | 48.60 |
Server storage [IO: ▲0.22MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
seerox_wpmftm_activated |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Media File Type Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲50 | 14.25 ▼0.03 | 2.11 ▼0.08 | 44.18 ▲0.68 |
Dashboard /wp-admin | 2,208 ▲37 | 5.53 ▼0.04 | 84.49 ▼8.92 | 37.40 ▲1.56 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▲0.07 | 39.75 ▼0.97 | 35.23 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.10 ▼0.02 | 683.53 ▲73.85 | 55.45 ▲1.22 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.22 ▲0.04 | 98.55 ▼11.35 | 44.82 ▼0.49 |
WP Media File Type /wp-admin/edit.php?post_type=mftype | 3,477 | 2.09 | 40.30 | 36.67 |
Add New /wp-admin/post-new.php?post_type=mftype | 2,181 | 7.59 | 169.15 | 63.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: file upload, media, manager, security, file type
wp-media-file-type-manager/wp-media-file-type-manager.php Passed 13 tests
The entry point to "WP Media File Type Manager" version 2.2.4 is a PHP file that has certain tags in its header comment area
90 characters long description:
WP Media File Type Manager will allow you to manage different file types in Media Library.
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 plugin488 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 130 | 248 |
JavaScript | 2 | 3 | 7 | 221 |
CSS | 2 | 0 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
9 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |