84% check-conflicts

Code Review | Check Conflicts

WordPress plugin Check Conflicts scored84%from 54 tests.

About plugin

  • Plugin page: check-conflicts
  • Plugin version: 1.1.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Jan 3, 2020
  • Latest release: Nov 7, 2023
  • Number of updates: 17
  • Update frequency: every 82.8 days
  • Top authors: ioannup (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

1,000+ active /11,443 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.58ms] Passed 4 tests

An overview of server-side resources used by Check Conflicts
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.40 ▼0.39
Dashboard /wp-admin3.33 ▼0.0246.80 ▼16.86
Posts /wp-admin/edit.php3.38 ▲0.0249.78 ▲5.00
Add New Post /wp-admin/post-new.php5.91 ▲0.0282.05 ▼24.89
Media Library /wp-admin/upload.php3.25 ▲0.0238.13 ▲3.83

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Check Conflicts: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5514.24 ▼0.381.62 ▼0.0239.00 ▼4.54
Dashboard /wp-admin2,210 ▲305.63 ▼0.0397.92 ▼0.2241.46 ▼2.14
Posts /wp-admin/edit.php2,112 ▲91.98 ▼0.0440.62 ▲1.9835.94 ▲2.02
Add New Post /wp-admin/post-new.php1,536 ▲1023.11 ▼0.43604.82 ▼54.7056.61 ▲6.83
Media Library /wp-admin/upload.php1,415 ▲184.21 ▲0.0496.21 ▼9.3042.62 ▼0.05

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • 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 no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/check-conflicts/views/move_to_mu.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/check-conflicts/check-conflicts.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/check-conflicts/mu-plugins/mu-check-conflicts.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Donate link: Invalid url: ""
You can take inspiration from this readme.txt

check-conflicts/check-conflicts.php 92% from 13 tests

The main file in "Check Conflicts" v. 1.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 321 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin442 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP310356442

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.37
Average class complexity33.50
▷ Minimum class complexity8.00
▷ Maximum class complexity59.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods32
▷ Static methods32100.00%
▷ Public methods1546.88%
▷ Protected methods00.00%
▷ Private methods1753.12%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin