90% jonradio-display-kitchen-sink

Code Review | InstallActivateGo.com Display Kitchen Sink

WordPress plugin InstallActivateGo.com Display Kitchen Sink scored90%from 54 tests.

About plugin

  • Plugin page: jonradio-display-...
  • Plugin version: 3.1.2
  • PHP compatiblity: 5+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.3.1
  • WordPress version: 6.3.1
  • First release: May 20, 2012
  • Latest release: Sep 6, 2023
  • Number of updates: 68
  • Update frequency: every 60.7 days
  • Top authors: adiant (79.41%)dgewirtz (22.06%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /12,419 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼3.00ms] Passed 4 tests

This is a short check of server-side resources used by InstallActivateGo.com Display Kitchen Sink
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.39 ▼1.39
Dashboard /wp-admin3.37 ▲0.0744.56 ▼3.46
Posts /wp-admin/edit.php3.43 ▲0.0644.58 ▼0.28
Add New Post /wp-admin/post-new.php5.96 ▲0.0680.21 ▼6.85
Media Library /wp-admin/upload.php3.30 ▲0.0637.27 ▲1.71
Kitchen Sink /wp-admin/edit.php?post_type=page&page=jr_dks_settings3.2730.67
Kitchen Sink /wp-admin/edit.php?page=jr_dks_settings3.2732.42
Kitchen Sink /wp-admin/options-general.php?page=jr_dks_settings3.2731.19
Kitchen Sink /wp-admin/users.php?page=jr_dks_settings3.2732.87

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

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

Browser metrics Passed 4 tests

Checking browser requirements for InstallActivateGo.com Display Kitchen Sink
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲6914.32 ▼0.031.86 ▲0.1642.73 ▼1.59
Dashboard /wp-admin2,208 ▲285.64 ▲0.1090.37 ▲1.8544.36 ▲4.59
Posts /wp-admin/edit.php2,116 ▲161.98 ▼0.0634.18 ▼0.2335.02 ▼2.59
Add New Post /wp-admin/post-new.php1,543 ▲723.41 ▲5.01653.84 ▲35.7950.35 ▼27.07
Media Library /wp-admin/upload.php1,419 ▲164.17 ▼0.1195.39 ▼3.9541.55 ▼2.39
Kitchen Sink /wp-admin/edit.php?post_type=page&page=jr_dks_settings9322.0821.8728.26
Kitchen Sink /wp-admin/edit.php?page=jr_dks_settings9291.9922.3230.29
Kitchen Sink /wp-admin/options-general.php?page=jr_dks_settings9331.9921.8026.03
Kitchen Sink /wp-admin/users.php?page=jr_dks_settings9331.9921.9328.75

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: editor, plugin, posting, kitchen sink, post...

jonradio-display-kitchen-sink/jonradio-display-kitchen-sink.php 92% from 13 tests

The entry point to "InstallActivateGo.com Display Kitchen Sink" version 3.1.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Requires PHP: Periods and digits should be used for the required version number (ex. "7.0" instead of "5")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected435 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP335150435

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin