79% manage-post-content-links-interlinks

Code Review | Manage post content links-interlinks

WordPress plugin Manage post content links-interlinks scored79%from 54 tests.

About plugin

  • Plugin page: manage-post-conte...
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.5.3
  • WordPress version: 6.3.1
  • First release: Dec 31, 2020
  • Latest release: Mar 11, 2023
  • Number of updates: 11
  • Update frequency: every 72.8 days
  • Top authors: behzadrohizadeh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /725 total downloads

Benchmarks

Plugin footprint 65% 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.01MB] [CPU: ▼6.97ms] Passed 4 tests

This is a short check of server-side resources used by Manage post content links-interlinks
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0250.58 ▲7.99
Dashboard /wp-admin3.33 ▼0.0251.34 ▼13.60
Posts /wp-admin/edit.php3.38 ▲0.0255.05 ▲4.05
Add New Post /wp-admin/post-new.php5.93 ▲0.0589.78 ▼26.30
Media Library /wp-admin/upload.php3.25 ▲0.0242.73 ▲8.38
Setting /wp-admin/admin.php?page=clm_menue3.2236.61
All Links /wp-admin/admin.php?page=clm_lists_link3.2832.76

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: 1 new table, 6 new options
New tables
wp_clm
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Manage post content links-interlinks
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,848 ▲8714.41 ▼0.152.06 ▲0.3843.56 ▼0.37
Dashboard /wp-admin2,232 ▲585.62 ▲0.0287.42 ▼6.4340.20 ▼3.74
Posts /wp-admin/edit.php2,134 ▲372.04 ▼0.0137.24 ▲1.2236.18 ▼1.72
Add New Post /wp-admin/post-new.php6,269 ▲4,72425.94 ▲2.83921.78 ▲260.5756.82 ▲7.03
Media Library /wp-admin/upload.php1,437 ▲404.22 ▼0.03111.46 ▲6.2447.67 ▲2.89
Setting /wp-admin/admin.php?page=clm_menue9562.0423.9822.98
All Links /wp-admin/admin.php?page=clm_lists_link8902.2025.4524.45

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie tables were found after uninstall: 1 table
    • wp_clm
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (Setting for posts type) image required
You can take inspiration from this readme.txt

manage-post-content-links-interlinks/wp-manage-post-content-links.php 92% from 13 tests

The main file in "Manage post content links-interlinks" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("manage-post-content-links-interlinks.php" instead of "wp-manage-post-content-links.php")

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
Success! There were no dangerous files found in this plugin897 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP435720692
PO File1343692
JavaScript189391
CSS14022

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity39.00
▷ Minimum class complexity39.00
▷ Maximum class complexity39.00
Average method complexity3.24
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods17
▷ Static methods00.00%
▷ Public methods17100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png17.43KB8.02KB▼ 53.99%