84% seo-backlink-monitor

Code Review | SEO Backlink Monitor

WordPress plugin SEO Backlink Monitor scored84%from 54 tests.

About plugin

  • Plugin page: seo-backlink-monitor
  • Plugin version: 1.5.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.5-6.1.1
  • WordPress version: 6.3.1
  • First release: Jan 6, 2019
  • Latest release: Jan 24, 2023
  • Number of updates: 12
  • Update frequency: every 123.4 days
  • Top authors: activewebsight (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

1,000+ active /11,250 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.38MB] [CPU: ▼1.62ms] Passed 4 tests

This is a short check of server-side resources used by SEO Backlink Monitor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.85 ▲0.3943.72 ▲0.94
Dashboard /wp-admin3.72 ▲0.4248.01 ▼1.22
Posts /wp-admin/edit.php3.77 ▲0.4147.29 ▲3.71
Add New Post /wp-admin/post-new.php6.24 ▲0.3583.74 ▼5.85
Media Library /wp-admin/upload.php3.58 ▲0.3534.06 ▼0.34

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options
seo_backlink_monitor_links
db_upgraded
widget_recent-posts
widget_recent-comments
seo_backlink_monitor_version
can_compress_scripts
seo_backlink_monitor_settings
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for SEO Backlink Monitor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.29 ▼0.061.76 ▲0.0743.46 ▼1.11
Dashboard /wp-admin2,208 ▲315.60 ▼0.0382.44 ▼16.5739.99 ▼3.82
Posts /wp-admin/edit.php2,116 ▲132.01 ▼0.0233.27 ▼8.0933.39 ▼4.19
Add New Post /wp-admin/post-new.php1,539 ▲1122.94 ▼0.03694.20 ▲47.7252.17 ▼25.43
Media Library /wp-admin/upload.php1,416 ▲164.22 ▲0.0694.30 ▼6.3842.95 ▲1.50

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

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 | 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
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-backlink-monitor/admin/partials/seo-backlink-monitor.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'SEO_Backlink_Monitor_Parent_WP_List_Table' not found in wp-content/plugins/seo-backlink-monitor/admin/inc/class-seo-backlink-monitor-child-list-table.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% 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
8 plugin tags: link, cron, building campaign, track your link, internal link...

seo-backlink-monitor/seo-backlink-monitor.php 92% from 13 tests

The primary PHP file in "SEO Backlink Monitor" version 1.5.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 238 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin4,671 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP93466292,113
JavaScript41521511,328
CSS410118782
PO File2216344448

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity57.50
▷ Minimum class complexity1.00
▷ Maximum class complexity129.00
Average method complexity4.39
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods96
▷ Static methods99.38%
▷ Public methods7275.00%
▷ Protected methods2121.88%
▷ Private methods33.12%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.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 files were detected