Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.28ms] Passed 4 tests
This is a short check of server-side resources used by Manage Folders and Labels
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.81 ▼2.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.50 ▼5.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.51 ▼4.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.54 ▼8.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.37 ▲1.43 |
Server storage [IO: ▲1.93MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Manage Folders and Labels: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.44 ▲0.14 | 1.79 ▼0.27 | 42.85 ▼1.50 |
Dashboard /wp-admin | 2,221 ▲15 | 4.82 ▼0.06 | 107.90 ▲1.24 | 42.86 ▼5.85 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▼0.02 | 40.49 ▼1.98 | 36.06 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 17.80 ▼5.36 | 622.46 ▼18.16 | 54.54 ▼3.28 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.21 ▼0.06 | 103.44 ▼2.77 | 45.08 ▼1.79 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/manage-folders-and-labels-gravity-forms/include/gflabel_settings.php
- > /wp-content/plugins/manage-folders-and-labels-gravity-forms/include/gffolder_settings.php
- > /wp-content/plugins/manage-folders-and-labels-gravity-forms/include/add_gflabel_settings.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/manage-folders-and-labels-gravity-forms/include/gf_labels_table.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/manage-folders-and-labels-gravity-forms/include/gf_folders_table.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 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
5 plugin tags: labels, folders, forms, gravity, gravityforms
manage-folders-and-labels-gravity-forms/index.php 77% from 13 tests
The primary PHP file in "Manage Folders and Labels" version 1.0.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "5.3")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("manage-folders-and-labels-gravity-forms.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,382 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 296 | 142 | 1,270 |
PO File | 4 | 272 | 278 | 723 |
JavaScript | 2 | 28 | 13 | 228 |
CSS | 2 | 41 | 1 | 161 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 8.54KB | 4.29KB | ▼ 49.71% |