83% intensedebate

Code Review | IntenseDebate Comments

WordPress plugin IntenseDebate Comments scored83%from 54 tests.

About plugin

  • Plugin page: intensedebate
  • Plugin version: 2.10.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Nov 12, 2008
  • Latest release: Feb 22, 2023
  • Number of updates: 139
  • Update frequency: every 37.5 days
  • Top authors: beaulebens (69.06%)automattic (15.11%)jonefox (10.07%)mrroundhill (5.04%)georgestephanis (3.6%)

Code review

54 tests

User reviews

10 reviews

Install metrics

900+ active /580,159 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.39MB] [CPU: ▲2.89ms] Passed 4 tests

This is a short check of server-side resources used by IntenseDebate Comments
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.89 ▲0.4341.11 ▼4.05
Dashboard /wp-admin3.73 ▲0.4353.61 ▲3.75
Posts /wp-admin/edit.php3.78 ▲0.4356.73 ▲8.00
Add New Post /wp-admin/post-new.php6.25 ▲0.3697.56 ▲15.09
Media Library /wp-admin/upload.php3.59 ▲0.3639.20 ▲3.86
IntenseDebate /wp-admin/options-general.php?page=id_settings3.5438.90

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 9 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
id_request_queue
id_pdxsync
widget_recent-posts
can_compress_scripts
id_signup_step
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for IntenseDebate Comments
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲7713.17 ▼1.001.94 ▲0.2141.00 ▲1.00
Dashboard /wp-admin2,214 ▲234.88 ▼0.04104.58 ▼6.0542.95 ▼0.98
Posts /wp-admin/edit.php2,110 ▲212.04 ▲0.0543.46 ▲3.3035.34 ▲0.95
Add New Post /wp-admin/post-new.php6,308 ▲4,78023.75 ▲0.51922.98 ▲208.7254.04 ▼10.36
Media Library /wp-admin/upload.php1,396 ▲144.23 ▲0.04109.21 ▲8.0947.41 ▲3.87
IntenseDebate /wp-admin/options-general.php?page=id_settings9231.7729.1844.72

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 9 options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • id_request_queue
    • theysaidso_admin_options
    • id_signup_step
    • id_pdxsync
    • can_compress_scripts
    • widget_recent-posts

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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/intensedebate/intensedebate-comment-template.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/intensedebate/intensedebate.php:41

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 90% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 15 tag instead of maximum 10
  • Screenshots: Add images for these screenshots: #1 (An example of the comment system itself. Notice all the extra goodies like user profile information, reputation, threaded comments, comment voting, RSS feeds for everything, and more!), #2 (This is the enhanced moderation screen. Note the extra information about the commenter (same drop down menu for each user from the previous screenshot is available here).), #3 (The settings page for the IntenseDebate plugin. There are many ways to customize IntenseDebate to do just as much as you want it to.), #4 (First step in the registration process - syncing up your IntenseDebate account with your WordPress blog.), #5 (Second step of the registration process - the import to convert all your existing comments into IntenseDebate goodness.), #6 (Final step of the registration process - a few helpful links to get you started getting the most out of your new IntenseDebate comment system.)
The official readme.txt is a good inspiration

intensedebate/intensedebate.php 92% from 13 tests

"IntenseDebate Comments" version 2.10.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 411 characters long)

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
No dangerous file extensions were detected2,116 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23802772,116

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity13.00
▷ Minimum class complexity1.00
▷ Maximum class complexity32.00
Average method complexity2.54
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods39
▷ Static methods00.00%
▷ Public methods39100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions96
▷ Named functions96100.00%
▷ Anonymous functions00.00%
Constants13
▷ Global constants13100.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
7 PNG files occupy 0.29MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png95.07KB31.31KB▼ 67.06%
screenshot-4.png34.81KB33.84KB▼ 2.81%
screenshot-6.png14.67KB14.35KB▼ 2.21%
comments.png0.56KB0.43KB▼ 22.59%
screenshot-5.png28.44KB27.48KB▼ 3.37%