94% podio-webforms

Code Review | Podio Webforms

WordPress plugin Podio Webforms scored 94% from 54 tests.

About plugin

  • Plugin page: podio-webforms
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.1
  • WordPress version: 5.8.1
  • First release: Oct 30, 2013
  • Latest release: Mar 6, 2019
  • Number of updates: 24
  • Update frequency: every 81.4 days
  • Top authors: cliffpaulick (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active / 5,254 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Podio Webforms
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0127.09 ▼1.87
Dashboard /wp-admin3.07 ▲0.0043.51 ▼3.06
Posts /wp-admin/edit.php3.12 ▲0.0139.23 ▲4.40
Add New Post /wp-admin/post-new.php5.43 ▼0.0175.84 ▼590.61
Media Library /wp-admin/upload.php3.01 ▲0.0127.96 ▲0.17

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Podio Webforms
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲3915.93 ▲0.277.53 ▲2.50158.79 ▲81.87
Dashboard /wp-admin2,929 ▲336.19 ▼0.00139.24 ▼5.93205.58 ▲30.04
Posts /wp-admin/edit.php2,737 ▼33.23 ▲0.0162.11 ▼0.31143.60 ▲3.95
Add New Post /wp-admin/post-new.php3,730 ▲2415.67 ▼3.33420.83 ▼26.46158.72 ▲2.73
Media Library /wp-admin/upload.php1,752 ▼35.52 ▲0.07138.78 ▲0.24182.71 ▼0.91

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

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 no errors were found, this is by no means an exhaustive test

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
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/podio-webforms/podio-webforms.php:70

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: https, forms, podio, responsive, shortcode

podio-webforms/podio-webforms.php 92% from 13 tests

The principal PHP file in "Podio Webforms" v. 1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 537 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin46 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP191546

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.30
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin