84% corymbus-forms

Code Review | Corymbus Forms

WordPress plugin Corymbus Forms scored84%from 54 tests.

About plugin

  • Plugin page: corymbus-forms
  • Plugin version: 1.1.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0.3
  • WordPress version: 6.3.1
  • First release: Oct 27, 2022
  • Latest release: Oct 29, 2022
  • Number of updates: 12
  • Update frequency: every 0.2 days
  • Top authors: corymbus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /883 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: ▼4.87ms] Passed 4 tests

An overview of server-side resources used by Corymbus Forms
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.29 ▼8.21
Dashboard /wp-admin3.31 ▲0.0043.33 ▼3.78
Posts /wp-admin/edit.php3.36 ▲0.0046.34 ▲2.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.38 ▼9.92
Media Library /wp-admin/upload.php3.23 ▲0.0035.61 ▲2.69

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Corymbus Forms
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.21 ▼1.414.61 ▲2.8342.59 ▼1.84
Dashboard /wp-admin2,206 ▲155.85 ▲0.06111.39 ▲3.7842.55 ▲1.21
Posts /wp-admin/edit.php2,089 ▼31.99 ▼0.0540.95 ▲3.1036.83 ▲2.71
Add New Post /wp-admin/post-new.php1,533 ▲423.34 ▲5.23647.99 ▲25.1254.11 ▼2.70
Media Library /wp-admin/upload.php1,385 ▼04.23 ▼0.02100.14 ▲1.9142.71 ▼2.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/corymbus-forms/corymbus-forms.php:57

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

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
  • Donate link: Please fix this invalid URI: "mailto:contact@corymb.us"
You can take inspiration from this readme.txt

corymbus-forms/corymbus-forms.php Passed 13 tests

This is the main PHP file of "Corymbus Forms" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
56 characters long description:
Easily embed Corymbus web pages and forms into WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected80 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP152046
PO File16834

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.53
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%
Functions3
▷ Named functions3100.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
PNG images were not found in this plugin