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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.95ms] Passed 4 tests
This is a short check of server-side resources used by Special Folder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 49.08 ▼3.00 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.35 ▼17.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.92 ▲2.73 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.22 ▼20.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.20 ▲1.28 |
Server storage [IO: ▲5.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
special_folder_show_image |
can_compress_scripts |
special_folder_ids |
theysaidso_admin_options |
widget_recent-posts |
special_folder_show_excerpt |
widget_recent-comments |
special_folder_view |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Special Folder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.35 ▼0.97 | 1.69 ▼0.60 | 42.07 ▼12.26 |
Dashboard /wp-admin | 2,223 ▲35 | 5.98 ▲1.10 | 114.90 ▼6.53 | 77.92 ▲32.92 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 1.99 ▼0.07 | 42.39 ▼11.93 | 34.62 ▼7.11 |
Add New Post /wp-admin/post-new.php | 1,683 ▲148 | 22.08 ▼1.20 | 627.32 ▼135.37 | 52.19 ▼15.49 |
Media Library /wp-admin/upload.php | 1,405 ▲20 | 4.13 ▼0.08 | 101.98 ▼23.87 | 47.96 ▼0.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- db_upgraded
- can_compress_scripts
- special_folder_show_excerpt
- special_folder_view
- special_folder_show_image
- widget_recent-posts
- special_folder_ids
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× 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/special-folder/index.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: special coverage, apps, technical publications, exclusive, edc...
special-folder/index.php 92% from 13 tests
Analyzing the main PHP file in "Special Folder" version 1.6
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("special-folder.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin301 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 10 | 227 |
PO File | 1 | 20 | 34 | 58 |
CSS | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/special_folder.png | 0.29KB | 0.42KB | 0.00% |