10% super-captcha

Code Review | Super CAPTCHA Security Suite - Hardened 3D CAPTCHA

WordPress plugin Super CAPTCHA Security Suite - Hardened 3D CAPTCHA scored 10% from 54 tests.

About plugin

  • Plugin page: super-captcha
  • Plugin version: 3.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.5.2
  • WordPress version: 6.3.1
  • First release: May 11, 2015
  • Latest release: May 13, 2016
  • Number of updates: 117
  • Update frequency: every 3.2 days
  • Top authors: leewells (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

40+ active / 4,643 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/super-captcha/super-captcha.php+28
    Methods with the same name as their class will not be constructors in a future version of PHP; newSuperCaptcha has a deprecated constructor

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

Server-side resources used by Super CAPTCHA Security Suite - Hardened 3D CAPTCHA
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.15 ▼6.87
Dashboard /wp-admin3.30 ▼0.0045.87 ▼3.47
Posts /wp-admin/edit.php3.38 ▲0.0250.37 ▲1.20
Add New Post /wp-admin/post-new.php5.91 ▲0.0294.34 ▼3.98
Media Library /wp-admin/upload.php3.25 ▲0.0238.99 ▲4.88

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Super CAPTCHA Security Suite - Hardened 3D CAPTCHA: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,880 ▲14513.26 ▼1.151.59 ▼0.5440.28 ▼4.50
Dashboard /wp-admin2,286 ▲955.88 ▲0.9898.25 ▼22.1742.98 ▼5.96
Posts /wp-admin/edit.php2,127 ▲382.22 ▲0.2435.49 ▲0.0630.68 ▼5.41
Add New Post /wp-admin/post-new.php1,567 ▲3418.65 ▼4.36635.38 ▲22.5368.27 ▲15.24
Media Library /wp-admin/upload.php1,426 ▲384.39 ▲0.1997.84 ▲2.3345.16 ▲1.11

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-captcha/super-captcha.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: Add images for these screenshots: #1 (Display of the 3-D captcha protecting BuddyPress signup forms.), #2 (Display of the 3-D captcha protecting WP signup forms.), #3 (Display of Super Captcha Pro Control Panel)
  • Tags: There are too many tags (19 tag instead of maximum 10)
You can look at the official readme.txt

super-captcha/super-captcha.php Passed 13 tests

This is the main PHP file of "Super CAPTCHA Security Suite - Hardened 3D CAPTCHA" version 3.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
90 characters long description:
WordPress's FIRST EVER 3D CAPTCHA that stops spam blogs, registrations, and comments COLD.

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
There were no executable files found in this plugin1,433 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP189521,114
HTML2896319

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity137.00
▷ Minimum class complexity137.00
▷ Maximum class complexity137.00
Average method complexity4.58
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods38
▷ Static methods00.00%
▷ Public methods38100.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin