94% backlink-monitoring-manager

Code Review | Backlink Monitoring Manager

WordPress plugin Backlink Monitoring Manager scored 94% from 53 tests.

About plugin

  • Plugin page: backlink-monitori...
  • Plugin version: 0.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.5-4.7
  • WordPress version: 5.8.1
  • First release: May 21, 2017
  • Latest release: May 23, 2017
  • Number of updates: 8
  • Update frequency: every 8.6 days
  • Top authors: syedfakharabbas (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 655 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.22MB] [CPU: ▼271.66ms] Passed 4 tests

This is a short check of server-side resources used by Backlink Monitoring Manager
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.03 ▲0.3132.38 ▲12.25
Dashboard /wp-admin3.31 ▲0.2638.23 ▼5.48
Posts /wp-admin/edit.php3.36 ▲0.2640.37 ▼7.11
Add New Post /wp-admin/post-new.php5.62 ▲0.1988.03 ▼1,070.98
Media Library /wp-admin/upload.php3.19 ▲0.1935.23 ▼3.08

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Backlink Monitoring Manager
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,668 ▲6215.85 ▲0.337.04 ▼0.3248.90 ▲0.90
Dashboard /wp-admin2,947 ▲945.89 ▲0.07137.33 ▲5.61101.04 ▲0.39
Posts /wp-admin/edit.php2,726 ▲202.81 ▲0.1365.18 ▲0.7695.95 ▲10.50
Add New Post /wp-admin/post-new.php1,666 ▲1518.73 ▲1.93354.40 ▲1.82107.02 ▲4.37
Media Library /wp-admin/upload.php1,792 ▲205.03 ▲0.01143.17 ▼11.90104.66 ▼12.94

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Back_Link_Monitoring_Manager_Parent_WP_List_Table' not found in wp-content/plugins/backlink-monitoring-manager/admin/inc/class-backlink-monitoring-manager-child-list-table.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/backlink-monitoring-manager/admin/partials/backlink-monitoring-manager.php:3

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: seo backlinks, building campaign, backlinks, links seo, internal link...

backlink-monitoring-manager/backlink-monitoring-manager.php Passed 13 tests

Analyzing the main PHP file in "Backlink Monitoring Manager" version 0.1.3
58 characters long description:
Backlink Monitoring Manager check the link is live or not.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,880 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21351001,215
PHP92945971,151
CSS24411514

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity32.17
▷ Minimum class complexity1.00
▷ Maximum class complexity129.00
Average method complexity3.41
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods72
▷ Static methods11.39%
▷ Public methods4866.67%
▷ Protected methods2129.17%
▷ Private methods34.17%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/favicon-2.png1.31KB1.17KB▼ 10.46%
admin/img/favicon.png24.98KB11.74KB▼ 53.00%