84% zplmod-title-checker

Code Review | ZPLMOd - Title Checker

WordPress plugin ZPLMOd - Title Checker scored 84% from 54 tests.

About plugin

  • Plugin page: zplmod-title-checker
  • Plugin version: 1.7.24
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.8
  • WordPress version: 6.3.1
  • First release: Jul 24, 2017
  • Latest release: Jul 24, 2017
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: naksheth (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 17,514 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
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.66ms] Passed 4 tests

An overview of server-side resources used by ZPLMOd - Title Checker
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0346.91 ▲4.22
Dashboard /wp-admin3.33 ▲0.0243.07 ▼4.23
Posts /wp-admin/edit.php3.38 ▲0.0248.07 ▲2.88
Add New Post /wp-admin/post-new.php5.93 ▲0.0485.42 ▼10.71
Media Library /wp-admin/upload.php3.25 ▲0.0236.09 ▼2.58

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for ZPLMOd - Title Checker
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.79 ▲0.411.85 ▲0.1446.49 ▲7.68
Dashboard /wp-admin2,206 ▲185.00 ▼0.88112.21 ▲7.8937.94 ▼5.38
Posts /wp-admin/edit.php2,092 ▼01.99 ▼0.0235.57 ▼4.6030.06 ▼3.81
Add New Post /wp-admin/post-new.php1,537 ▼523.40 ▲5.06689.93 ▲68.5760.36 ▼4.00
Media Library /wp-admin/upload.php1,388 ▼04.17 ▼0.0298.43 ▼4.8344.49 ▲0.91

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zplmod-title-checker/zplmod-title-checker.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 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
4 plugin tags: title, unique title, duplicate title, seo

zplmod-title-checker/zplmod-title-checker.php 92% from 13 tests

"ZPLMOd - Title Checker" version 1.7.24's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 232 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
Success! There were no dangerous files found in this plugin111 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1161088
JavaScript10123

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.88
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods112.50%
▷ Public methods8100.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

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin