83% conflict-finder-wp-fix-it

Code Review | Conflict Finder

WordPress plugin Conflict Finder scored83%from 54 tests.

About plugin

  • Plugin page: conflict-finder-w...
  • Plugin version: 3.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-6.3
  • WordPress version: 6.3.1
  • First release: Apr 20, 2022
  • Latest release: Aug 10, 2023
  • Number of updates: 14
  • Update frequency: every 34.1 days
  • Top authors: wpfixit (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,231 total downloads


Plugin footprint 82% from 16 tests

Installer Passed 1 test

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

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

This is a short check of server-side resources used by Conflict Finder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.85 ▼2.84
Dashboard /wp-admin3.33 ▼0.0245.11 ▼18.58
Posts /wp-admin/edit.php3.38 ▲0.0245.03 ▼4.93
Add New Post /wp-admin/post-new.php5.91 ▲0.0277.49 ▼15.55
Media Library /wp-admin/upload.php3.25 ▲0.0234.94 ▲0.03
Debug Area /wp-admin/tools.php?page=dlct_logs3.2229.59

Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
It is recommended to fix the following issues
  • The plugin illegally modified 1 file (4.23KB) outside of "wp-content/plugins/conflict-finder-wp-fix-it/" and "wp-content/uploads/"
    • (modified) wp-config.php
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Conflict Finder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲8414.26 ▼0.101.65 ▼0.1241.19 ▼6.97
Dashboard /wp-admin2,210 ▲335.54 ▼0.0583.98 ▼15.1538.73 ▼4.79
Posts /wp-admin/edit.php2,115 ▲152.01 ▼0.0340.03 ▲1.5735.81 ▼0.02
Add New Post /wp-admin/post-new.php1,534 ▲823.21 ▲0.10590.03 ▼88.5964.50 ▲13.10
Media Library /wp-admin/upload.php1,415 ▲154.27 ▲0.06102.44 ▼7.9742.24 ▼4.98
Debug Area /wp-admin/tools.php?page=dlct_logs9542.3753.1434.57

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
Please fix the following items
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • DebugLogConfigTool_data_initial
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function DebugLogConfigTool\\register_deactivation_hook() in wp-content/plugins/conflict-finder-wp-fix-it/src/Classes/DLCT_Bootstrap.php:382

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: disable plugin, troubleshoot, plugin conflict

conflict-finder-wp-fix-it/conflict-finder.php 85% from 13 tests

The entry point to "Conflict Finder" version 3.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 623 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("conflict-finder-wp-fix-it.php" instead of "conflict-finder.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin762 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity12.44
▷ Minimum class complexity1.00
▷ Maximum class complexity40.00
Average method complexity2.66
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
▷ Static methods34.92%
▷ Public methods5081.97%
▷ Protected methods711.48%
▷ Private methods46.56%
▷ Named functions440.00%
▷ Anonymous functions660.00%
▷ Global constants571.43%
▷ Class constants228.57%
▷ Public constants2100.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
There are no PNG files in this plugin