10% technoscore-google-tracking

Code Review | Technoscore Google Tracking

WordPress plugin Technoscore Google Tracking scored10%from 54 tests.

About plugin

  • Plugin page: technoscore-googl...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.6-4.7
  • WordPress version: 6.3.1
  • First release: May 4, 2017
  • Latest release: May 23, 2017
  • Number of updates: 14
  • Update frequency: every 1.9 days
  • Top authors: saravan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /632 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Parse error in wp-content/plugins/technoscore-google-tracking/technoscore-google-tracking.php+657
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.02ms] Passed 4 tests

Analyzing server-side resources used by Technoscore Google Tracking
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.99 ▼3.10
Dashboard /wp-admin3.31 ▲0.0046.99 ▼0.63
Posts /wp-admin/edit.php3.36 ▲0.0046.72 ▼1.50
Add New Post /wp-admin/post-new.php5.89 ▲0.0080.20 ▼18.09
Media Library /wp-admin/upload.php3.23 ▲0.0031.30 ▼1.38

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Technoscore Google Tracking
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.72 ▲0.091.56 ▼0.1238.68 ▼5.21
Dashboard /wp-admin2,192 ▲155.59 ▼0.0681.19 ▼18.6339.42 ▼9.04
Posts /wp-admin/edit.php2,100 ▼01.97 ▲0.0136.16 ▼1.2434.09 ▼1.60
Add New Post /wp-admin/post-new.php1,526 ▼222.93 ▼0.07664.51 ▼12.8455.98 ▼11.03
Media Library /wp-admin/upload.php1,400 ▼04.17 ▲0.0396.82 ▼0.8742.29 ▼3.93

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/technoscore-google-tracking/technoscore-google-tracking.php on line 657

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 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes: Please take inspiration from this readme.txt

technoscore-google-tracking/technoscore-google-tracking.php 92% from 13 tests

The entry point to "Technoscore Google Tracking" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,583 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript31681461,111
PHP214754467
CSS1005

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected