68% ss-uikit

Code Review | SS UIKit

WordPress plugin SS UIKit scored68%from 54 tests.

About plugin

  • Plugin page: ss-uikit
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-3.9.1
  • WordPress version: 6.3.1
  • First release: Jul 8, 2014
  • Latest release: Jul 8, 2014
  • Number of updates: 8
  • Update frequency: every 0.8 days
  • Top authors: spotlightstudios (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /934 total downloads

Benchmarks

Plugin footprint 65% 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.95MB] [CPU: ▼32.52ms] Passed 4 tests

Server-side resources used by SS UIKit
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0238.89 ▲0.52
Dashboard /wp-admin2.99 ▼0.3123.34 ▼27.23
Posts /wp-admin/edit.php2.99 ▼0.3622.97 ▼22.30
Add New Post /wp-admin/post-new.php2.99 ▼2.8925.06 ▼65.95
Media Library /wp-admin/upload.php2.99 ▼0.2319.38 ▼14.58

Server storage [IO: ▲1.32MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for SS UIKit
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.76 ▼0.621.63 ▼0.1740.97 ▼3.72
Dashboard /wp-admin2,210 ▲224.87 ▼0.00109.51 ▼8.5940.36 ▼2.65
Posts /wp-admin/edit.php2,096 ▲72.02 ▲0.0036.94 ▲2.5334.63 ▲2.21
Add New Post /wp-admin/post-new.php1,540 ▲2123.28 ▲0.07679.22 ▲31.9753.91 ▲4.85
Media Library /wp-admin/upload.php1,395 ▲74.25 ▲0.0195.19 ▼0.0245.39 ▲3.65
SS UiKit /wp-admin/ss-uikit.php260.440.1116.41

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ss-uikit/admin/ss-uikit-settings.php:80
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ss-uikit/ss-uikit.php:143

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/ss-uikit.php
    • > Network (severe)
    wp-admin/ss-uikit.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: spotlight, wordpress, studios

ss-uikit/ss-uikit.php Passed 13 tests

The primary PHP file in "SS UIKit" version 1.0.0 is used by WordPress to initiate all plugin functionality
127 characters long description:
This plug-in is designed to be a fast way to implement the UIKit framework into your website; whatever you website is based on.

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
Everything looks great! No dangerous files found in this plugin338 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP21815310
JavaScript17151722
CSS6666

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.63
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin