Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.60MB] [CPU: ▲17.02ms] Passed 4 tests
Analyzing server-side resources used by EDD Tab Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.49 ▲5.03 | 64.38 ▲19.98 |
Dashboard /wp-admin | 8.51 ▲5.16 | 79.88 ▲7.62 |
Posts /wp-admin/edit.php | 8.51 ▲5.15 | 78.36 ▲26.52 |
Add New Post /wp-admin/post-new.php | 8.95 ▲3.06 | 122.27 ▲13.97 |
Media Library /wp-admin/upload.php | 8.51 ▲5.28 | 71.64 ▲33.73 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.51 | 60.48 |
Server storage [IO: ▲3.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 208 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_gdpr |
widget_recent-posts |
fs_debug_mode |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
fs_accounts |
widget_theysaidso_widget |
fs_active_plugins |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for EDD Tab Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 14.72 ▲0.43 | 1.89 ▲0.03 | 32.62 ▼12.33 |
Dashboard /wp-admin | 2,231 ▲54 | 5.65 ▲0.05 | 95.65 ▼4.66 | 48.11 ▲5.56 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 1.98 ▲0.01 | 41.69 ▲6.35 | 40.72 ▲3.56 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 20.80 ▼2.83 | 642.47 ▼63.71 | 53.61 ▼1.98 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.19 ▲0.01 | 102.16 ▼8.65 | 50.73 ▲2.77 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,076 | 1.68 | 23.67 | 27.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/edd-tab-manager/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-comments
- fs_active_plugins
- theysaidso_admin_options
- fs_gdpr
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- fs_accounts
- fs_debug_mode
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: tabs, ecommerce, easy-digital-downloads
edd-tab-manager/edd-tab-manager.php 85% from 13 tests
Analyzing the main PHP file in "EDD Tab Manager" version 1.3.1
Please make the necessary changes and fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin38,816 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 116 | 7,381 | 16,237 | 31,358 |
PO File | 5 | 2,140 | 2,163 | 4,830 |
Sass | 20 | 329 | 76 | 2,091 |
JavaScript | 5 | 38 | 61 | 218 |
Markdown | 1 | 68 | 0 | 214 |
CSS | 15 | 8 | 0 | 65 |
JSON | 1 | 0 | 0 | 40 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 80.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 2 | 3.92% |
▷ Concrete classes | 49 | 96.08% |
▷ Final classes | 1 | 2.04% |
Methods | 1,153 | |
▷ Static methods | 176 | 15.26% |
▷ Public methods | 813 | 70.51% |
▷ Protected methods | 15 | 1.30% |
▷ Private methods | 325 | 28.19% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 125 | |
▷ Global constants | 100 | 80.00% |
▷ Class constants | 25 | 20.00% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |