Benchmarks
Plugin footprint 82% 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: ▼8.69ms] Passed 4 tests
An overview of server-side resources used by FileOrganizer - Manage WordPress and Website Files
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.28 ▲1.08 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.90 ▼12.20 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 45.46 ▼9.25 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 90.76 ▼12.85 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.67 ▼0.44 |
File Organizer /wp-admin/admin.php?page=fileorganizer | 3.26 | 30.30 |
Settings /wp-admin/admin.php?page=settings | 3.35 | 30.31 |
Server storage [IO: ▲5.09MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/fileorganizer/" and "wp-content/uploads/"
- (new file) .tmb/.empty
Filesystem: 258 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
fileorganizer_version |
fileorganizer_promo_time |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for FileOrganizer - Manage WordPress and Website Files
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.19 ▼1.19 | 1.88 ▲0.21 | 43.78 ▲2.87 |
Dashboard /wp-admin | 2,233 ▲48 | 5.90 ▲0.92 | 110.27 ▲4.83 | 41.38 ▼1.51 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.02 ▼0.00 | 33.81 ▼7.22 | 34.66 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,564 ▲47 | 23.14 ▲5.65 | 635.03 ▲25.43 | 49.51 ▼3.07 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.17 ▼0.04 | 98.28 ▼8.54 | 40.55 ▼6.68 |
File Organizer /wp-admin/admin.php?page=fileorganizer | 4,049 | 6.91 | 222.73 | 116.71 |
Settings /wp-admin/admin.php?page=settings | 1,463 | 1.83 | 24.51 | 44.07 |
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
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- fileorganizer_version
- theysaidso_admin_options
- widget_theysaidso_widget
- fileorganizer_promo_time
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/fileorganizer/main/ajax.php
- > /wp-content/plugins/fileorganizer/main/settings.php
- > /wp-content/plugins/fileorganizer/main/fileorganizer.php
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'elFinderPlugin' not found in wp-content/plugins/fileorganizer/manager/php/plugins/AutoResize/plugin.php:62
- > PHP Fatal error
Uncaught Error: Class 'elFinderEditor' not found in wp-content/plugins/fileorganizer/manager/php/editors/ZipArchive/editor.php:3
- > PHP Fatal error
Uncaught Error: Class 'elFinderVolumeMySQL' not found in wp-content/plugins/fileorganizer/manager/php/elFinderVolumeTrashMySQL.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'elFinderPlugin' not found in wp-content/plugins/fileorganizer/manager/php/plugins/AutoRotate/plugin.php:52
- > PHP Fatal error
Uncaught Error: Class 'elFinderVolumeDriver' not found in wp-content/plugins/fileorganizer/manager/php/elFinderVolumeDropbox2.class.php:16
- > PHP Fatal error
Uncaught Error: Class 'elFinderVolumeDriver' not found in wp-content/plugins/fileorganizer/manager/php/elFinderVolumeGroup.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'elFinderVolumeDriver' not found in wp-content/plugins/fileorganizer/manager/php/elFinderVolumeMySQL.class.php:8
- > PHP Fatal error
Uncaught Error: Class 'elFinderVolumeDriver' not found in wp-content/plugins/fileorganizer/manager/php/elFinderVolumeFTP.class.php:9
- > PHP Fatal error
Uncaught Error: Class 'elFinder' not found in wp-content/plugins/fileorganizer/manager/php/elFinderVolumeDropbox.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'elFinderEditor' not found in wp-content/plugins/fileorganizer/manager/php/editors/OnlineConvert/editor.php:3
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
fileorganizer/fileorganizer.php Passed 13 tests
"FileOrganizer - Manage WordPress and Website Files" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
84 characters long description:
FileOrganizer is a plugin that helps you to manage all files in your WordPress Site.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected83,569 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 58 | 3,342 | 5,967 | 49,223 |
PHP | 37 | 3,324 | 9,443 | 19,830 |
CSS | 23 | 1,309 | 847 | 13,324 |
SVG | 20 | 93 | 0 | 1,146 |
Markdown | 3 | 11 | 0 | 46 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,400)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 150)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 146.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,400.00 |
Average method complexity | 7.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 150.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 1 | 2.94% |
▷ Concrete classes | 33 | 97.06% |
▷ Final classes | 0 | 0.00% |
Methods | 837 | |
▷ Static methods | 47 | 5.62% |
▷ Public methods | 236 | 28.20% |
▷ Protected methods | 581 | 69.41% |
▷ Private methods | 20 | 2.39% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 107 | |
▷ Global constants | 30 | 28.04% |
▷ Class constants | 77 | 71.96% |
▷ Public constants | 77 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
98 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
manager/php/resources/video.png | 2.24KB | 2.10KB | ▼ 6.12% |
css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |
manager/themes/windows10/images/16px/extract.png | 0.47KB | 0.55KB | 0.00% |
images/twitter.png | 1.29KB | 1.46KB | 0.00% |
manager/img/ui-icons_ffffff_256x240.png | 3.67KB | 4.17KB | 0.00% |