Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/tapcliq/tapcliq.php+215
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.99ms] Passed 4 tests
A check of server-side resources used by tapCLIQ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.94 ▲0.94 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.42 ▼0.33 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.82 ▲4.55 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 88.32 ▼1.20 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.86 ▲7.15 |
Add New /wp-admin/admin.php?page=add-new-campaign | 3.30 | 29.73 |
All Campaign /wp-admin/admin.php?page=tapcliq | 3.57 | 35.26 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_tapcliq_campaigns |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for tapCLIQ
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲90 | 13.69 ▼0.69 | 2.08 ▲0.22 | 43.08 ▼2.34 |
Dashboard /wp-admin | 2,237 ▲49 | 5.08 ▲0.19 | 109.82 ▲4.06 | 83.15 ▲45.88 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.08 ▲0.07 | 38.25 ▼1.46 | 36.00 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 17.62 ▼5.52 | 729.86 ▲111.82 | 38.11 ▼12.05 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.22 ▲0.02 | 102.44 ▲0.42 | 73.04 ▲30.20 |
Add New /wp-admin/admin.php?page=add-new-campaign | 1,082 | 1.83 | 28.02 | 61.41 |
All Campaign /wp-admin/admin.php?page=tapcliq | 1,062 | 1.78 | 33.90 | 27.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 26 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=add-new-campaign
- > Notice in wp-content/plugins/tapcliq/views/add-new-campaign.php+204
Undefined variable: campaignId
- > GET request to /wp-admin/admin.php?page=add-new-campaign
- > Notice in wp-content/plugins/tapcliq/views/add-new-campaign.php+99
Undefined variable: args
- > GET request to /wp-admin/admin.php?page=add-new-campaign
- > Notice in wp-content/plugins/tapcliq/views/add-new-campaign.php+107
Object of class WP_Post could not be converted to int
- > GET request to /wp-admin/admin.php?page=add-new-campaign
- > Notice in wp-content/plugins/tapcliq/views/add-new-campaign.php+147
Undefined variable: posts
SRP Passed 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
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
- Screenshots: No descriptions were found for these screenshots #7, #8, #9 in tapcliq/assets to your readme.txt
tapcliq/tapcliq.php Passed 13 tests
"tapCLIQ" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
65 characters long description:
Enable guided seller, support and engagement bots on your website
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
No dangerous file extensions were detected1,694 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 317 | 744 | 1,561 |
JavaScript | 3 | 6 | 19 | 120 |
CSS | 2 | 2 | 6 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 3 | 4.23% |
▷ Public methods | 50 | 70.42% |
▷ Protected methods | 21 | 29.58% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up 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 |
assets/images/tapcliq.png | 0.63KB | 0.63KB | 0.00% |