Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php+62
Methods with the same name as their class will not be constructors in a future version of PHP; wowtrk_affiliate has a deprecated constructor
Server metrics [RAM: ▼1.83MB] [CPU: ▼50.48ms] Passed 4 tests
Analyzing server-side resources used by WOW TRK
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 4.87 ▼32.76 |
Dashboard /wp-admin | 2.19 ▼1.15 | 6.22 ▼50.56 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 6.14 ▼38.81 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 5.69 ▼79.78 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 6.48 ▼25.49 |
WOW TRK /wp-admin/options-general.php?page=wowtrk-options | 2.19 | 5.59 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_wowtrk_affiliate_widget |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WOW TRK
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲16 | 14.11 ▼0.41 | 2.38 ▲0.68 | 45.46 ▲7.66 |
Dashboard /wp-admin | 2,208 ▲33 | 5.61 ▼0.11 | 81.60 ▼19.77 | 36.61 ▼4.21 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.00 ▼0.01 | 35.56 ▼1.91 | 35.33 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.21 ▼0.01 | 657.38 ▲14.69 | 59.84 ▲5.37 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.29 ▲0.08 | 97.26 ▼3.54 | 45.14 ▼0.51 |
WOW TRK /wp-admin/options-general.php?page=wowtrk-options | 1,006 | 1.99 | 21.97 | 25.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php+62
Methods with the same name as their class will not be constructors in a future version of PHP; wowtrk_affiliate has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_wowtrk_affiliate_widget
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wowtrk-options
- > Deprecated in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php+62
Methods with the same name as their class will not be constructors in a future version of PHP; wowtrk_affiliate has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=wowtrk-options
- > Notice in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php+73
Undefined variable: defaults
- > GET request to /wp-admin/options-general.php?page=wowtrk-options
- > Notice in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php+115
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wowtrk-options
- > Notice in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php+209
Undefined index: banner_type
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php:265
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Donate link: Invalid url: ""
- Screenshots: Add an image for screenshot #2 (https://www.wowtrk.com/wp-content/uploads/2020/03/website-example-screenshot.png)
wow-trk-affiliate-marketing-ad-rotator/wowtrk-affiliate-plugin.php 92% from 13 tests
"WOW TRK" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wow-trk-affiliate-marketing-ad-rotator.php" instead of "wowtrk-affiliate-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin317 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 7 | 317 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected