Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.48ms] Passed 4 tests
This is a short check of server-side resources used by MediaFire FileDrop Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.86 ▼0.95 |
Dashboard /wp-admin | 3.41 ▲0.10 | 47.30 ▼9.86 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.27 ▼3.65 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.14 ▼7.45 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.24 ▲0.34 |
Linking to Your Files /wp-admin/admin.php?page=mediafire-filedrop-manager-help | 3.30 | 37.02 |
MediaFire FileDrops /wp-admin/options-general.php?page=mediafire-filedrop-manager-settings | 3.27 | 28.64 |
FileDrops /wp-admin/admin.php?page=mediafire-filedrop-manager | 3.27 | 30.47 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MediaFire FileDrop Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.58 ▼0.79 | 1.70 ▲0.02 | 38.30 ▼5.51 |
Dashboard /wp-admin | 2,239 ▲48 | 5.85 ▲0.96 | 104.63 ▼2.92 | 84.94 ▲42.17 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.02 ▼0.02 | 33.51 ▼6.41 | 34.24 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 17.56 ▼5.48 | 777.20 ▲84.53 | 55.34 ▼0.87 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.17 ▼0.03 | 106.02 ▼1.21 | 44.31 ▲2.22 |
Linking to Your Files /wp-admin/admin.php?page=mediafire-filedrop-manager-help | 887 | 2.01 | 25.94 | 28.16 |
MediaFire FileDrops /wp-admin/options-general.php?page=mediafire-filedrop-manager-settings | 1,032 | 2.02 | 29.24 | 29.01 |
FileDrops /wp-admin/admin.php?page=mediafire-filedrop-manager | 827 | 2.01 | 24.06 | 25.82 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=mediafire-filedrop-manager-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mediafire-filedrop-manager-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 30 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mediafire-filedrop-manager
- > Notice in wp-content/plugins/mediafire-filedrop-manager/mediafire-filedrop-manager.php+120
Trying to access array offset on value of type bool
SRP 50% from 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
Please fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mediafire-filedrop-manager/includes/mediafire-filedrop-manager-help.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mediafire-filedrop-manager/includes/mediafire-filedrop-manager-settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mediafire-filedrop-manager/mediafire-filedrop-manager.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: mediafire, filedrops, upload files
mediafire-filedrop-manager/mediafire-filedrop-manager.php Passed 13 tests
The entry point to "MediaFire FileDrop Manager" version 0.3 is a PHP file that has certain tags in its header comment area
86 characters long description:
Adds a WordPress admin top-level menu item for easy access to your MediaFire FileDrops
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin546 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 365 | 180 | 530 |
CSS | 1 | 3 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 26 | |
▷ Named functions | 26 | 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
Using a strong compression for your PNG files is a great way to speed-up 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 |
images/icon-32.png | 1.99KB | 1.33KB | ▼ 33.05% |
images/icon-16.png | 1.43KB | 0.50KB | ▼ 65.35% |