84% polkadot-tiger

Code Review | SEO A/B Testing by Polkadot Tiger

WordPress plugin SEO A/B Testing by Polkadot Tiger scored 84% from 54 tests.

About plugin

  • Plugin page: polkadot-tiger
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-5.7.2
  • WordPress version: 5.9.2
  • First release: Jan 14, 2021
  • Latest release: Jul 6, 2021
  • Number of updates: 25
  • Update frequency: every 13.0 days
  • Top authors: polkadottiger (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active / 460 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼299.48ms] Passed 4 tests

This is a short check of server-side resources used by SEO A/B Testing by Polkadot Tiger
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0557.09 ▲6.59
Dashboard /wp-admin3.46 ▲0.0532.91 ▼0.09
Posts /wp-admin/edit.php3.70 ▲0.0536.18 ▼1.72
Add New Post /wp-admin/post-new.php6.95 ▼0.0394.95 ▼1,197.38
Media Library /wp-admin/upload.php3.35 ▲0.0525.23 ▲1.29
Polkadot Tiger /wp-admin/options-general.php?page=polkadot_tiger3.3025.55

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options
polkadot_tiger_api_key

Browser metrics Passed 4 tests

This is an overview of browser requirements for SEO A/B Testing by Polkadot Tiger
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,800 ▲5616.15 ▲0.416.85 ▲0.303.16 ▲1.06
Dashboard /wp-admin2,897 ▲366.10 ▼0.06117.94 ▼21.57152.72 ▼12.31
Posts /wp-admin/edit.php2,690 ▼13.23 ▼0.0161.60 ▼0.74138.45 ▼5.84
Add New Post /wp-admin/post-new.php1,693 ▲3220.95 ▲4.87432.80 ▼14.44156.69 ▲0.94
Media Library /wp-admin/upload.php1,706 ▲85.48 ▼0.00149.87 ▲4.92193.25 ▲5.83
Polkadot Tiger /wp-admin/options-general.php?page=polkadot_tiger9882.3950.50109.15

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • polkadot_tiger_api_key

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/polkadot-tiger/polkadot-tiger.php:11

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 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in polkadot-tiger/assets to your readme.txt
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

polkadot-tiger/polkadot-tiger.php Passed 13 tests

The principal PHP file in "SEO A/B Testing by Polkadot Tiger" v. 1.1.2 is loaded by WordPress automatically on each request
137 characters long description:
Create SEO Metadata A/B Tests to optimize Click-Through Rates and Rankings for your website's pages. Sign up at https://polkadottiger.com

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin286 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP189103286

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin