72% formidable-kinetic

Code Review | Formidable Kinetic

WordPress plugin Formidable Kinetic scored72%from 54 tests.

About plugin

  • Plugin page: formidable-kinetic
  • Plugin version: 1.1.01
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.9.2
  • WordPress version: 6.3.1
  • First release: Aug 7, 2014
  • Latest release: Aug 14, 2014
  • Number of updates: 14
  • Update frequency: every 0.5 days
  • Top authors: thomstark (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /2,054 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼0.76ms] Passed 4 tests

This is a short check of server-side resources used by Formidable Kinetic
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.37 ▼4.92
Dashboard /wp-admin3.44 ▲0.1350.14 ▲1.17
Posts /wp-admin/edit.php3.55 ▲0.2051.64 ▲4.35
Add New Post /wp-admin/post-new.php6.02 ▲0.1496.53 ▼3.65
Media Library /wp-admin/upload.php3.36 ▲0.1338.36 ▲4.50
Formidable Kinetic /wp-admin/options-general.php?page=formidable-kinetic3.3134.67

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
FrmKineticOps

Browser metrics Passed 4 tests

This is an overview of browser requirements for Formidable Kinetic
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.74 ▲0.602.05 ▲0.4742.20 ▲0.82
Dashboard /wp-admin2,196 ▲195.65 ▼0.0591.59 ▼6.9140.24 ▼6.65
Posts /wp-admin/edit.php2,104 ▲72.00 ▲0.0139.61 ▲3.0435.44 ▲3.52
Add New Post /wp-admin/post-new.php1,551 ▲1123.13 ▲5.01659.25 ▲12.8257.66 ▲1.61
Media Library /wp-admin/upload.php1,404 ▲44.21 ▼0.0696.77 ▼11.2943.29 ▼3.62
Formidable Kinetic /wp-admin/options-general.php?page=formidable-kinetic1,5322.3948.9076.35

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • FrmKineticOps
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=formidable-kinetic
    • > User deprecated in wp-includes/functions.php+5453
    Function wp_htmledit_pre is deprecated since version 4.3.0! Use format_for_editor() instead.

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
  • 5× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/formidable-kinetic/admin/includes/about.php
    • > /wp-content/plugins/formidable-kinetic/admin/class.admin.php
    • > /wp-content/plugins/formidable-kinetic/formidable-kinetic.php
    • > /wp-content/plugins/formidable-kinetic/admin/modal.php
    • > /wp-content/plugins/formidable-kinetic/admin/includes/usage.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=formidable-kinetic
    • > Console-api (warning) in unknown
    /wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'mozilla')" "TypeError: Cannot read properties of undefined (reading 'mozilla')\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=formidable-kinetic:270:19)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)" undefined
    • > GET request to /wp-admin/options-general.php?page=formidable-kinetic
    • > Javascript (severe) in unknown
    /wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'mozilla')

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
8 plugin tags: customize, fields, kinetic, forms, formidable...

formidable-kinetic/formidable-kinetic.php 92% from 13 tests

The principal PHP file in "Formidable Kinetic" v. 1.1.01 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)

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
Everything looks great! No dangerous files found in this plugin1,835 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP5114869
CSS281564
SVG200263
JavaScript293139

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity48.00
▷ Minimum class complexity44.00
▷ Maximum class complexity52.00
Average method complexity4.13
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods30
▷ Static methods516.67%
▷ Public methods30100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.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
8 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/eyesonly_banner.png23.35KB7.93KB▼ 66.04%
admin/images/fileaway_banner.png13.35KB4.49KB▼ 66.33%
admin/images/ssfk_banner.png13.42KB6.58KB▼ 50.99%
admin/images/other_plugins.png5.47KB1.69KB▼ 69.16%
admin/images/bbc_banner.png20.49KB6.69KB▼ 67.37%