84% disable-check-comment-flood

Code Review | Disable Check Comment Flood

WordPress plugin Disable Check Comment Flood scored 84% from 54 tests.

About plugin

  • Plugin page: disable-check-com...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-3.4.2
  • WordPress version: 6.3.1
  • First release: Jul 20, 2009
  • Latest release: Oct 2, 2012
  • Number of updates: 13
  • Update frequency: every 90.1 days
  • Top authors: bangbay (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 3,491 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.50ms] Passed 4 tests

Server-side resources used by Disable Check Comment Flood
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.99 ▼3.78
Dashboard /wp-admin3.31 ▲0.0044.24 ▼4.05
Posts /wp-admin/edit.php3.36 ▲0.0048.50 ▲2.13
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.68 ▼3.37
Media Library /wp-admin/upload.php3.23 ▼0.0035.10 ▲1.21

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Disable Check Comment Flood
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9013.18 ▼1.202.12 ▲0.2643.66 ▼8.09
Dashboard /wp-admin2,206 ▲244.83 ▼1.02110.39 ▲5.7538.63 ▼1.04
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0239.78 ▼0.3135.48 ▼1.12
Add New Post /wp-admin/post-new.php1,539 ▼323.29 ▲5.09661.71 ▲45.4465.46 ▲12.59
Media Library /wp-admin/upload.php1,382 ▼04.18 ▼0.0699.08 ▼1.2339.74 ▼2.08

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • 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 everything seems fine, this is not 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
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/disable-check-comment-flood/disable-check-comment-flood.php:11

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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: comments, comment check flood

disable-check-comment-flood/disable-check-comment-flood.php Passed 13 tests

The main PHP file in "Disable Check Comment Flood" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Disables the Check Comment Flood feature so comments can be post-dated.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1283

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin