10% podamibe-customize-comment-form

Code Review | Podamibe Customize Comment Form

WordPress plugin Podamibe Customize Comment Form scored10%from 54 tests.

About plugin

  • Plugin page: podamibe-customiz...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.7.8
  • WordPress version: 6.3.1
  • First release: Sep 8, 2017
  • Latest release: May 22, 2019
  • Number of updates: 4
  • Update frequency: every 155.5 days
  • Top authors: podamibe (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /725 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
You still need to fix the following installer errors
  • Install procedure had errors
    • > Notice in wp-content/plugins/podamibe-customize-comment-form/inc/customize-form.php+55
    Trying to access array offset on value of type bool

Server metrics [RAM: ▼1.86MB] [CPU: ▼51.98ms] Passed 4 tests

Server-side resources used by Podamibe Customize Comment Form
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.12 ▼1.345.30 ▼36.72
Dashboard /wp-admin2.14 ▼1.167.48 ▼43.22
Posts /wp-admin/edit.php2.14 ▼1.217.42 ▼42.32
Add New Post /wp-admin/post-new.php2.14 ▼3.746.96 ▼85.67
Media Library /wp-admin/upload.php2.14 ▼1.095.84 ▼31.09
Customize Comment Form /wp-admin/options-general.php?page=podamibe-customize-cform2.146.43

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Podamibe Customize Comment Form
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲7313.19 ▼1.401.74 ▼0.3841.01 ▼2.45
Dashboard /wp-admin2,217 ▲294.86 ▼0.95103.74 ▼14.7340.41 ▼5.45
Posts /wp-admin/edit.php2,097 ▲82.02 ▲0.0140.29 ▲4.7534.37 ▲0.60
Add New Post /wp-admin/post-new.php1,530 ▲1118.58 ▼4.64604.85 ▼90.8051.94 ▼7.51
Media Library /wp-admin/upload.php1,390 ▼14.27 ▲0.09100.68 ▲1.1042.69 ▼0.06
Customize Comment Form /wp-admin/options-general.php?page=podamibe-customize-cform1,0462.2527.1225.16

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/podamibe-customize-comment-form/inc/customize-form.php+55
    Trying to access array offset on value of type bool
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=podamibe-customize-cform
    • > Notice in wp-content/plugins/podamibe-customize-comment-form/inc/class-pccf-setting.php+88
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 4× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/podamibe-customize-comment-form/inc/class-pccf-setting.php
    • > /wp-content/plugins/podamibe-customize-comment-form/inc/class-pccf-info.php
    • > /wp-content/plugins/podamibe-customize-comment-form/inc/functions.php
    • > /wp-content/plugins/podamibe-customize-comment-form/inc/customize-form.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: default comment form, customize form, rating, comment form, comment form field...

podamibe-customize-comment-form/pccf.php 92% from 13 tests

The principal PHP file in "Podamibe Customize Comment Form" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("podamibe-customize-comment-form.php" instead of "pccf.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected491 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP58860435
CSS16439
JavaScript15417

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.10
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods110.00%
▷ Public methods660.00%
▷ Protected methods00.00%
▷ Private methods440.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
PNG images were not found in this plugin