84% serious-duplicated-terms

Code Review | Serious Duplicated Terms

WordPress plugin Serious Duplicated Terms scored84%from 54 tests.

About plugin

  • Plugin page: serious-duplicate...
  • Plugin version: 1.1.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-6.0
  • WordPress version: 6.3.1
  • First release: Apr 30, 2019
  • Latest release: Jul 9, 2022
  • Number of updates: 11
  • Update frequency: every 106.0 days
  • Top authors: softmodeling (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,266 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

Server-side resources used by Serious Duplicated Terms
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1237.43 ▼4.02
Dashboard /wp-admin3.43 ▲0.1244.42 ▼0.41
Posts /wp-admin/edit.php3.54 ▲0.1850.48 ▲6.12
Add New Post /wp-admin/post-new.php6.03 ▲0.1494.72 ▲5.59
Media Library /wp-admin/upload.php3.35 ▲0.1235.13 ▲2.75
Analysis /wp-admin/admin.php?page=duplicated-analysis3.3227.77
Configuration /wp-admin/admin.php?page=duplicated-configuration3.3230.09

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Serious Duplicated Terms
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲7413.20 ▼1.571.87 ▼0.1543.69 ▼8.67
Dashboard /wp-admin2,237 ▲494.84 ▼0.09109.66 ▲1.8240.95 ▼0.57
Posts /wp-admin/edit.php2,120 ▲282.02 ▲0.0240.51 ▲3.5733.74 ▲0.92
Add New Post /wp-admin/post-new.php1,555 ▲4118.32 ▲0.51615.53 ▼0.5946.72 ▼0.16
Media Library /wp-admin/upload.php1,422 ▲344.16 ▼0.0894.63 ▼14.0044.33 ▲0.54
Analysis /wp-admin/admin.php?page=duplicated-analysis7852.0226.0324.35
Configuration /wp-admin/admin.php?page=duplicated-configuration8522.0622.5828.52

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Serious_Duplicated_Terms_Admin_Display' not found in wp-content/plugins/serious-duplicated-terms/admin/partials/class-serious-duplicated-terms-admin-display-ext.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Serious_Duplicated_Terms' not found in wp-content/plugins/serious-duplicated-terms/includes/class-serious-duplicated-terms-ext.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Serious_Duplicated_Terms_Admin' not found in wp-content/plugins/serious-duplicated-terms/admin/class-serious-duplicated-terms-admin-ext.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 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
7 plugin tags: tag, duplicates, optimization, taxonomy, category...

serious-duplicated-terms/serious-duplicated-terms.php Passed 13 tests

The main file in "Serious Duplicated Terms" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
89 characters long description:
Merge duplicated tags and categories to simplify and better organize your site navigation

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected539 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP14188436536
JavaScript14273
CSS1040

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity5.55
▷ Minimum class complexity1.00
▷ Maximum class complexity31.00
Average method complexity2.12
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods41
▷ Static methods24.88%
▷ Public methods3278.05%
▷ Protected methods49.76%
▷ Private methods512.20%
Functions5
▷ Named functions360.00%
▷ Anonymous functions240.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 are no PNG files in this plugin