Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.16ms] Passed 4 tests
An overview of server-side resources used by Acclectic Media Organizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 44.56 ▲6.39 |
Dashboard /wp-admin | 3.46 ▲0.16 | 47.67 ▼2.48 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 47.76 ▼4.30 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.51 ▼10.77 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.88 ▼3.09 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 56 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_sp_media_organizer_folders |
wp_sp_media_organizer_items |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Acclectic Media Organizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲129 | 14.06 ▼0.37 | 2.01 ▲0.36 | 44.29 ▲0.98 |
Dashboard /wp-admin | 2,250 ▲65 | 5.83 ▲0.00 | 125.95 ▲24.55 | 52.48 ▲7.40 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.63 ▲0.62 | 52.64 ▲10.20 | 45.56 ▲9.67 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 17.87 ▲0.18 | 692.27 ▲6.34 | 45.23 ▼14.04 |
Media Library /wp-admin/upload.php | 1,620 ▲232 | 5.62 ▲1.36 | 135.55 ▲21.54 | 74.33 ▲26.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 tables detected upon uninstall: 2 tables
- wp_sp_media_organizer_items
- wp_sp_media_organizer_folders
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
- 10× PHP files trigger server errors when accessed directly:
- > PHP Warning
include_once(ACCLECTIC_PATHinc/control-panel.php): failed to open stream: No such file or directory in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 19
- > PHP Warning
Use of undefined constant ACCLECTIC_PATH - assumed 'ACCLECTIC_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 17
- > PHP Warning
include_once(ACCLECTIC_PATHinc/wp-helper.php): failed to open stream: No such file or directory in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 17
- > PHP Warning
include_once(): Failed opening 'ACCLECTIC_PATHinc/wp-helper.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'Acclectic\\ControlPanel' not found in wp-content/plugins/acclectic-media-organizer/inc/plugin.php:22
- > PHP Warning
Use of undefined constant ACCLECTIC_PATH - assumed 'ACCLECTIC_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 18
- > PHP Warning
include_once(): Failed opening 'ACCLECTIC_PATHinc/control-panel.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 19
- > PHP Warning
Use of undefined constant ACCLECTIC_PATH - assumed 'ACCLECTIC_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 19
- > PHP Warning
include_once(ACCLECTIC_PATHinc/strings.php): failed to open stream: No such file or directory in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 18
- > PHP Warning
include_once(): Failed opening 'ACCLECTIC_PATHinc/strings.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/acclectic-media-organizer/inc/plugin.php on line 18
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
acclectic-media-organizer/acclectic-media-organizer.php Passed 13 tests
The entry point to "Acclectic Media Organizer" version 1.4 is a PHP file that has certain tags in its header comment area
86 characters long description:
A media organizer that lets you categorize and group media files into virtual folders.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected9,827 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 454 | 2,566 | 7,954 |
CSS | 4 | 176 | 37 | 865 |
PHP | 5 | 116 | 94 | 526 |
PO File | 10 | 170 | 160 | 400 |
SVG | 10 | 0 | 6 | 82 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 4 | 14.81% |
▷ Public methods | 20 | 74.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 25.93% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
third_party/jstree/themes/acclectic/chevron-down-36px.png | 2.55KB | 0.18KB | ▼ 92.97% |
assets/resizer_handle.png | 1.62KB | 0.60KB | ▼ 63.12% |
third_party/jstree/themes/acclectic/chevron-right-36px.png | 2.68KB | 0.18KB | ▼ 93.37% |
assets/resizer_background.png | 1.57KB | 0.10KB | ▼ 93.64% |
third_party/jstree/themes/acclectic/folder-36px.png | 2.53KB | 0.20KB | ▼ 92.24% |