WordPress plugin WOW TRK scored10%from 54 tests.

About plugin

  • Plugin page: wow-trk-affiliate...
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.3.2
  • WordPress version: 6.3.1
  • First release: May 20, 2013
  • Latest release: Mar 12, 2020
  • Number of updates: 56
  • Update frequency: every 44.6 days
  • Top authors: mdeluk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,753 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.17 ▼1.294.87 ▼32.76
Dashboard /wp-admin2.19 ▼1.156.22 ▼50.56
Posts /wp-admin/edit.php2.19 ▼1.176.14 ▼38.81
Add New Post /wp-admin/post-new.php2.19 ▼3.705.69 ▼79.78
Media Library /wp-admin/upload.php2.19 ▼1.046.48 ▼25.49
WOW TRK /wp-admin/options-general.php?page=wowtrk-options2.195.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲1614.11 ▼0.412.38 ▲0.6845.46 ▲7.66
Dashboard /wp-admin2,208 ▲335.61 ▼0.1181.60 ▼19.7736.61 ▼4.21
Posts /wp-admin/edit.php2,114 ▲142.00 ▼0.0135.56 ▼1.9135.33 ▼0.76
Add New Post /wp-admin/post-new.php1,543 ▲1523.21 ▼0.01657.38 ▲14.6959.84 ▲5.37
Media Library /wp-admin/upload.php1,416 ▲164.29 ▲0.0897.26 ▼3.5445.14 ▼0.51
WOW TRK /wp-admin/options-general.php?page=wowtrk-options1,0061.9921.9725.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

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)
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PHP1527317

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 code0.44
Average class complexity27.50
▷ Minimum class complexity13.00
▷ Maximum class complexity42.00
Average method complexity5.08
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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