10% related-posts-line-up-exactry-by-milliard

Code Review | Related Posts Line-up-Exactly by Milliard

WordPress plugin Related Posts Line-up-Exactly by Milliard scored10%from 54 tests.

About plugin

  • Plugin page: related-posts-lin...
  • Plugin version: 0.0.22
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.8
  • WordPress version: 6.3.1
  • First release: Oct 20, 2014
  • Latest release: Jun 25, 2017
  • Number of updates: 51
  • Update frequency: every 19.2 days
  • Top authors: shisuh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /10,561 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • The plugin did not install without errors
    • > Notice in wp-content/plugins/related-posts-line-up-exactry-by-milliard/main.php+39
    Undefined index: ssDebugInfo

Server metrics [RAM: ▼1.91MB] [CPU: ▼53.78ms] Passed 4 tests

This is a short check of server-side resources used by Related Posts Line-up-Exactly by Milliard
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.94 ▼3.92
Dashboard /wp-admin2.05 ▼1.305.58 ▼56.75
Posts /wp-admin/edit.php2.05 ▼1.316.28 ▼38.98
Add New Post /wp-admin/post-new.php2.05 ▼3.849.97 ▼89.34
Media Library /wp-admin/upload.php2.05 ▼1.185.57 ▼30.05
Milliard関連ページ /wp-admin/options-general.php?page=related-posts-line-up-exactry-by-milliard/main.php2.056.86

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

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

Browser metrics Passed 4 tests

Related Posts Line-up-Exactly by Milliard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.25 ▼1.441.66 ▼0.2438.58 ▼4.27
Dashboard /wp-admin2,210 ▲224.83 ▼1.03107.40 ▼11.9548.09 ▲1.42
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0239.91 ▲2.4542.48 ▲9.32
Add New Post /wp-admin/post-new.php1,550 ▲3123.17 ▼0.14600.91 ▼47.8456.04 ▲3.07
Media Library /wp-admin/upload.php1,392 ▲14.21 ▲0.0195.99 ▼3.5745.62 ▲1.93
Milliard関連ページ /wp-admin/options-general.php?page=related-posts-line-up-exactry-by-milliard/main.php1,3031.7223.3589.74

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/related-posts-line-up-exactry-by-milliard/main.php+39
    Undefined index: ssDebugInfo
  • The uninstall procedure has failed, leaving 7 options in the database
    • can_compress_scripts
    • SS_RP_OFF_SCROLL
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=related-posts-line-up-exactry-by-milliard/main.php
    • > Notice in wp-content/plugins/related-posts-line-up-exactry-by-milliard/main.php+39
    Undefined index: ssDebugInfo
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=related-posts-line-up-exactry-by-milliard/main.php
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

SRP 50% from 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
The following issues need your attention
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/related-posts-line-up-exactry-by-milliard/includes/feed-rss2.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function nocache_headers() in wp-content/plugins/related-posts-line-up-exactry-by-milliard/main.php:336
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/related-posts-line-up-exactry-by-milliard/includes/admin_setting.php:8

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/options-general.php?page=related-posts-line-up-exactry-by-milliard/main.php
    • > Network (severe)
    http://www.shisuh.com/css/ssRelatedPageAdmin.css - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/options-general.php?page=related-posts-line-up-exactry-by-milliard/main.php
    • > Network (severe)
    http://www.shisuh.com/djs/ssRelatedPageAdmin/?requireLoader=1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed: The official readme.txt is a good inspiration

related-posts-line-up-exactry-by-milliard/main.php 92% from 13 tests

This is the main PHP file of "Related Posts Line-up-Exactly by Milliard" version 0.0.22, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("related-posts-line-up-exactry-by-milliard.php" instead of "main.php")

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 detected827 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP43350827

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity55.00
▷ Minimum class complexity34.00
▷ Maximum class complexity76.00
Average method complexity4.86
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods28
▷ Static methods13.57%
▷ Public methods28100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There were not PNG files found in your plugin