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.03MB] [CPU: ▲1.66ms] Passed 4 tests
An overview of server-side resources used by LinkMyDeals
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.32 ▲3.28 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.97 ▼0.84 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.57 ▲1.80 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.20 ▲2.41 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.92 ▲4.68 |
Import Coupon Feed /wp-admin/admin.php?page=linkmydeals | 3.20 | 34.81 |
Coupon Custom Template /wp-admin/admin.php?page=coupon-custom-template | 3.29 | 40.49 |
Logs /wp-admin/admin.php?page=linkmydeals-logs | 3.23 | 34.74 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_linkmydeals_upload |
wp_linkmydeals_logs |
wp_linkmydeals_config |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by LinkMyDeals
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲69 | 14.58 ▲0.37 | 1.83 ▲0.31 | 43.41 ▲5.91 |
Dashboard /wp-admin | 2,239 ▲62 | 5.63 ▼0.01 | 88.09 ▼12.03 | 42.73 ▼4.59 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.00 ▲0.06 | 34.71 ▼4.29 | 33.35 ▲1.82 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 22.94 ▼2.23 | 656.85 ▲53.49 | 56.23 ▼8.89 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.19 ▼0.02 | 98.38 ▼1.87 | 41.79 ▼2.64 |
Import Coupon Feed /wp-admin/admin.php?page=linkmydeals | 1,268 | 1.83 | 30.21 | 60.13 |
Coupon Custom Template /wp-admin/admin.php?page=coupon-custom-template | 1,646 | 6.89 | 145.34 | 68.12 |
Logs /wp-admin/admin.php?page=linkmydeals-logs | 922 | 1.81 | 26.94 | 23.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=linkmydeals
- > Notice in wp-content/plugins/linkmydeals/views.php+179
Undefined index: default_format
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=linkmydeals
- > Notice in wp-content/plugins/linkmydeals/views.php+278
Undefined index: cashback_mode
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: linkmydeals, offers, coupon feed, coupon api, vouchers...
linkmydeals/linkmydeals.php 92% from 13 tests
The main file in "LinkMyDeals" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 153 characters long)
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
Everything looks great! No dangerous files found in this plugin3,341 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 731 | 151 | 3,027 |
SVG | 1 | 0 | 0 | 288 |
CSS | 2 | 4 | 6 | 25 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 48 | |
▷ Named functions | 46 | 95.83% |
▷ Anonymous functions | 2 | 4.17% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin