Benchmarks
Plugin footprint 83% 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.11MB] [CPU: ▼3.91ms] Passed 4 tests
This is a short check of server-side resources used by TADA (Membership, Loyalty, Referral & Subscription Platform)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 40.13 ▲0.87 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.75 ▲0.12 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 45.53 ▼2.14 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 84.29 ▼14.47 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.23 ▲5.24 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TADA (Membership, Loyalty, Referral & Subscription Platform)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.63 ▲0.25 | 1.67 ▼0.14 | 42.44 ▼0.14 |
Dashboard /wp-admin | 2,241 ▲52 | 4.88 ▼1.01 | 103.51 ▼11.46 | 42.87 ▼6.19 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.06 ▲0.02 | 37.20 ▼0.83 | 36.03 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▲6 | 17.90 ▼5.13 | 691.23 ▲12.09 | 58.81 ▲3.92 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.19 ▲0.01 | 94.89 ▼17.59 | 44.64 ▼1.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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 items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/usetada/includes/class.usetada-widget.php
- > /wp-content/plugins/usetada/includes/class.usetada-admin.php
- > /wp-content/plugins/usetada/includes/class.usetada-api.php
- > /wp-content/plugins/usetada/includes/class.usetada-settings.php
- > /wp-content/plugins/usetada/usetada.php
- > /wp-content/plugins/usetada/includes/class.usetada.php
- > /wp-content/plugins/usetada/includes/class.usetada-woocommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
usetada/usetada.php 85% from 13 tests
"TADA (Membership, Loyalty, Referral & Subscription Platform)" version 1.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.2" instead of "4.0.0")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,424 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 142 | 44 | 741 |
PHP | 7 | 144 | 144 | 526 |
JavaScript | 3 | 22 | 36 | 147 |
SVG | 1 | 0 | 1 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.83 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 30 | 100.00% |
▷ Public methods | 28 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
14 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/close.png | 0.47KB | 0.32KB | ▼ 32.02% |
admin/images/zoom.png | 0.45KB | 0.46KB | 0.00% |
public/images/giftbox.png | 1.08KB | 1.10KB | 0.00% |
admin/images/logo-tada-blue.png | 0.24KB | 0.24KB | 0.00% |
admin/images/hide-password.png | 0.44KB | 0.45KB | 0.00% |