84% proranktracker

Code Review | Pro Rank Tracker

WordPress plugin Pro Rank Tracker scored84%from 54 tests.

About plugin

  • Plugin page: proranktracker
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.3
  • WordPress version: 6.3.1
  • First release: Aug 20, 2015
  • Latest release: Aug 27, 2015
  • Number of updates: 6
  • Update frequency: every 1.2 days
  • Top authors: proranktracker (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

50+ active /2,193 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
Install script ran successfully

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

A check of server-side resources used by Pro Rank Tracker
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.30 ▼6.70
Dashboard /wp-admin3.32 ▲0.0149.01 ▼0.19
Posts /wp-admin/edit.php3.37 ▲0.0149.94 ▼3.89
Add New Post /wp-admin/post-new.php5.92 ▲0.0390.92 ▼13.58
Media Library /wp-admin/upload.php3.24 ▲0.0138.26 ▲2.74
ProRankTracker /wp-admin/tools.php?page=prt3.2133.55

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Pro Rank Tracker: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲3913.57 ▼0.951.76 ▼0.1339.71 ▼5.18
Dashboard /wp-admin2,234 ▲284.88 ▼0.02100.45 ▼5.0941.41 ▼0.65
Posts /wp-admin/edit.php2,110 ▲102.03 ▼0.0338.02 ▼7.2737.05 ▲0.30
Add New Post /wp-admin/post-new.php1,536 ▲523.05 ▼0.16672.67 ▼17.5453.37 ▼0.17
Media Library /wp-admin/upload.php1,410 ▲74.41 ▲0.19109.55 ▲6.7646.44 ▲1.94
ProRankTracker /wp-admin/tools.php?page=prt8022.0624.3124.32

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

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
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 items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/proranktracker/prt.php

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)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: rank, pro rank tracker, serp tracker, ranking, prt...

proranktracker/prt.php 85% from 13 tests

"Pro Rank Tracker" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("proranktracker.php" instead of "prt.php")
  • Description: The description should be shorter than 140 characters (currently 168 characters long)

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
PHP119853
JavaScript1171

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin