90% pipfrosch-jquery

Code Review | Pipfrosch jQuery

WordPress plugin Pipfrosch jQuery scored 90% from 54 tests.

About plugin

  • Plugin page: pipfrosch-jquery
  • Plugin version: 1.2.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1.0-5.4.1
  • WordPress version: 6.3.1
  • First release: May 22, 2020
  • Latest release: Jun 16, 2020
  • Number of updates: 7
  • Update frequency: every 3.6 days
  • Top authors: pipfroschpress (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 594 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.09MB] [CPU: ▼1.64ms] Passed 4 tests

This is a short check of server-side resources used by Pipfrosch jQuery
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0938.07 ▼0.56
Dashboard /wp-admin3.40 ▲0.0944.19 ▲0.18
Posts /wp-admin/edit.php3.51 ▲0.1546.91 ▲0.10
Add New Post /wp-admin/post-new.php5.98 ▲0.0993.58 ▼4.84
Media Library /wp-admin/upload.php3.32 ▲0.0933.30 ▼1.24
jQuery Options /wp-admin/options-general.php?page=pipfrosch_jquery3.2928.93

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 13 new options
New WordPress options
can_compress_scripts
db_upgraded
pipjq_cdn
pipjq_migrate
pipjq_sri
theysaidso_admin_options
pipjq_jquery_version
widget_recent-posts
widget_recent-comments
pipjq_plugin_version
...

Browser metrics Passed 4 tests

An overview of browser requirements for Pipfrosch jQuery
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.25 ▼1.301.81 ▲0.1241.48 ▲0.29
Dashboard /wp-admin2,210 ▲214.81 ▼0.26107.12 ▼3.4341.88 ▼0.20
Posts /wp-admin/edit.php2,093 ▲72.02 ▼0.0440.40 ▲4.5636.62 ▲5.89
Add New Post /wp-admin/post-new.php1,536 ▲1722.76 ▼0.40568.12 ▼105.4856.13 ▼4.94
Media Library /wp-admin/upload.php1,392 ▲44.16 ▼0.0494.73 ▼16.7041.51 ▼7.70
jQuery Options /wp-admin/options-general.php?page=pipfrosch_jquery8962.0222.9931.69

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: jquery

pipfrosch-jquery/pipfrosch-jquery.php Passed 13 tests

The entry point to "Pipfrosch jQuery" version 1.2.1 is a PHP file that has certain tags in its header comment area
59 characters long description:
Provides a modern jQuery environment for WordPress frontend

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected532 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP441264413
Markdown1480117
JavaScript2022

PHP code Passed 2 tests

A brief analysis 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.24
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%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants11
▷ Global constants11100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin