Benchmarks
Plugin footprint 48% 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.18MB] [CPU: ▼5.29ms] Passed 4 tests
Analyzing server-side resources used by iFolders - Ultimate Folder Manager for Media, Pages, Posts & etc
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.64 ▲3.98 |
Dashboard /wp-admin | 3.50 ▲0.15 | 49.15 ▼12.98 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.28 ▲5.62 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 91.70 ▼15.41 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 40.11 ▲3.27 |
iFolders /wp-admin/options-general.php?page=ifolders-settings | 3.53 | 35.45 |
Server storage [IO: ▲1.65MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 74 new files
Database: 6 new tables, 6 new options
New tables |
---|
wp_ifolders_folders |
wp_ifolders_groups |
wp_ifolders_access |
wp_ifolders_rights |
wp_ifolders_folder_types |
wp_ifolders_attachments |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by iFolders - Ultimate Folder Manager for Media, Pages, Posts & etc
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲108 | 14.46 ▲0.18 | 1.79 ▼0.05 | 39.51 ▼0.44 |
Dashboard /wp-admin | 2,300 ▲120 | 5.73 ▲0.09 | 90.78 ▼6.29 | 44.00 ▼3.64 |
Posts /wp-admin/edit.php | 2,130 ▲33 | 1.99 ▲0.04 | 39.55 ▲5.15 | 36.85 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,620 ▲94 | 23.47 ▲0.39 | 705.34 ▼15.59 | 38.23 ▼33.24 |
Media Library /wp-admin/upload.php | 1,906 ▲506 | 4.60 ▲0.37 | 124.21 ▲13.80 | 49.42 ▲1.78 |
iFolders /wp-admin/options-general.php?page=ifolders-settings | 3,179 | 3.49 | 111.09 | 44.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/ifolders/uninstall.php+7
Constant IFOLDERS_PLUGIN_VERSION already defined
- This plugin does not fully uninstall, leaving 6 tables in the database
- wp_ifolders_rights
- wp_ifolders_groups
- wp_ifolders_folder_types
- wp_ifolders_folders
- wp_ifolders_access
- wp_ifolders_attachments
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected 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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in ifolders/assets to your readme.txt
ifolders/ifolders.php 92% from 13 tests
The main PHP script in "iFolders - Ultimate Folder Manager for Media, Pages, Posts & etc" version 1.6.3 is automatically included on every request by WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 177 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin8,492 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 1,761 | 1,905 | 4,873 |
PHP | 17 | 356 | 38 | 3,600 |
JavaScript | 10 | 0 | 0 | 10 |
CSS | 6 | 0 | 0 | 6 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 122.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 360.00 |
Average method complexity | 7.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 85.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 11 | 19.64% |
▷ Public methods | 36 | 64.29% |
▷ Protected methods | 3 | 5.36% |
▷ Private methods | 17 | 30.36% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.72MB with 0.51MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/promo-logo.png | 9.96KB | 3.95KB | ▼ 60.34% |
assets/img/chess.png | 2.77KB | 0.10KB | ▼ 96.26% |
assets/img/folder-guru.png | 724.89KB | 6.18KB | ▼ 99.15% |
assets/img/grab.png | 0.14KB | 0.10KB | ▼ 28.28% |