89% sync-opml-to-blogroll

Code Review | Sync OPML to Blogroll

WordPress plugin Sync OPML to Blogroll scored89%from 54 tests.

About plugin

  • Plugin page: sync-opml-to-blog...
  • Plugin version: 1.5.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Nov 1, 2019
  • Latest release: Jan 31, 2023
  • Number of updates: 17
  • Update frequency: every 70.0 days
  • Top authors: janboddez (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /5,231 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼1.48ms] Passed 4 tests

Server-side resources used by Sync OPML to Blogroll
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1237.72 ▼4.37
Dashboard /wp-admin3.42 ▲0.1246.12 ▼5.72
Posts /wp-admin/edit.php3.54 ▲0.1850.22 ▲1.69
Add New Post /wp-admin/post-new.php6.00 ▲0.1294.77 ▲2.50
Media Library /wp-admin/upload.php3.35 ▲0.1236.23 ▲4.04
All Links /wp-admin/link-manager.php3.3731.56
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category3.3433.05
Sync OPML to Blogroll /wp-admin/options-general.php?page=sync-opml-blogroll3.3133.14
Add New /wp-admin/link-add.php3.3230.44

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_links

Browser metrics Passed 4 tests

An overview of browser requirements for Sync OPML to Blogroll
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲10613.38 ▼1.031.62 ▼0.6637.49 ▼15.99
Dashboard /wp-admin2,244 ▲564.87 ▼0.03109.00 ▼8.0541.97 ▼1.26
Posts /wp-admin/edit.php2,127 ▲382.06 ▲0.0641.37 ▲0.2536.59 ▲3.39
Add New Post /wp-admin/post-new.php1,574 ▲4117.98 ▼5.25612.54 ▼21.5164.42 ▲15.75
Media Library /wp-admin/upload.php1,426 ▲384.30 ▲0.0496.53 ▼10.7742.31 ▼3.56
All Links /wp-admin/link-manager.php1,0631.7227.5832.49
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category1,3032.1427.4729.99
Sync OPML to Blogroll /wp-admin/options-general.php?page=sync-opml-blogroll9202.0625.7026.03
Add New /wp-admin/link-add.php1,6482.2446.9633.01

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_links
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

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 errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: rss, blogroll, feeds, links, opml...

sync-opml-to-blogroll/sync-opml-blogroll.php 85% from 13 tests

The main PHP file in "Sync OPML to Blogroll" ver. 1.5.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sync-opml-to-blogroll.php" instead of "sync-opml-blogroll.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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 plugin410 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP594239410

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.50
Average class complexity18.50
▷ Minimum class complexity3.00
▷ Maximum class complexity36.00
Average method complexity4.68
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods19
▷ Static methods315.79%
▷ Public methods1578.95%
▷ Protected methods00.00%
▷ Private methods421.05%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin