84% technoscore-bing-conversion-tracking

Code Review | Technoscore Bing Conversion Tracking

WordPress plugin Technoscore Bing Conversion Tracking scored84%from 54 tests.

About plugin

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

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,034 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.16ms] Passed 4 tests

This is a short check of server-side resources used by Technoscore Bing Conversion Tracking
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0041.53 ▼3.90
Dashboard /wp-admin3.31 ▲0.0151.70 ▼2.42
Posts /wp-admin/edit.php3.36 ▲0.0149.21 ▼2.35
Add New Post /wp-admin/post-new.php5.89 ▲0.01102.04 ▼5.15
Media Library /wp-admin/upload.php3.23 ▲0.0132.39 ▼9.15

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Technoscore Bing Conversion Tracking
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲6914.31 ▼0.242.04 ▲0.0939.79 ▼4.27
Dashboard /wp-admin2,208 ▲315.64 ▲0.0399.31 ▲7.3045.52 ▲2.39
Posts /wp-admin/edit.php2,113 ▲132.02 ▲0.0340.10 ▲0.7536.32 ▼1.76
Add New Post /wp-admin/post-new.php1,562 ▲3123.25 ▲0.17636.40 ▼12.2653.35 ▼3.11
Media Library /wp-admin/upload.php1,410 ▲134.27 ▲0.06101.39 ▼24.6842.42 ▼7.53

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/technoscore-bing-conversion-tracking/technoscore-bing-conversion-tracking.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
6 plugin tags: analytics, bing, conversion, script, bing tracking...

technoscore-bing-conversion-tracking/technoscore-bing-conversion-tracking.php 92% from 13 tests

"Technoscore Bing Conversion Tracking" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin54 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2181854

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin