10% trackerly

Code Review | Tracker.ly

WordPress plugin Tracker.ly scored10%from 54 tests.

About plugin

  • Plugin page: trackerly
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.9.8
  • WordPress version: 6.3.1
  • First release: Apr 9, 2014
  • Latest release: Aug 31, 2018
  • Number of updates: 18
  • Update frequency: every 90.3 days
  • Top authors: trackerly (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,593 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/trackerly/trackerly.php+283
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼1.84MB] [CPU: ▼55.11ms] Passed 4 tests

An overview of server-side resources used by Tracker.ly
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.14 ▼1.325.07 ▼46.21
Dashboard /wp-admin2.16 ▼1.146.14 ▼44.19
Posts /wp-admin/edit.php2.17 ▼1.195.98 ▼45.64
Add New Post /wp-admin/post-new.php2.17 ▼3.725.96 ▼84.41
Media Library /wp-admin/upload.php2.17 ▼1.066.00 ▼29.10

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts
trackerly_install_folder
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Tracker.ly
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.001.73 ▼0.4044.14 ▲1.88
Dashboard /wp-admin2,195 ▲245.52 ▼0.0190.26 ▼12.6441.78 ▼1.49
Posts /wp-admin/edit.php2,100 ▼02.02 ▼0.0136.07 ▲0.0634.61 ▼3.36
Add New Post /wp-admin/post-new.php1,526 ▼023.40 ▼0.31689.38 ▼29.0147.13 ▼9.50
Media Library /wp-admin/upload.php1,391 ▼94.18 ▼0.01103.29 ▼6.5045.02 ▼1.31

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/trackerly/trackerly.php+283
    Array and string offset access syntax with curly braces is deprecated
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • trackerly_install_folder
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trackerly/trackerly.php:39

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

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
3 plugin tags: trackerly, 404, redirect

trackerly/trackerly.php 92% from 13 tests

The principal PHP file in "Tracker.ly" v. 1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 284 characters long)

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
There were no executable files found in this plugin348 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110314348

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin