84% skedme-io

Code Review | skedme.io

WordPress plugin skedme.io scored 84% from 54 tests.

About plugin

  • Plugin page: skedme-io
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-5.2
  • WordPress version: 6.3.1
  • First release: May 22, 2019
  • Latest release: Sep 19, 2019
  • Number of updates: 6
  • Update frequency: every 21.2 days
  • Top authors: arozhkov (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 619 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
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼1.35ms] Passed 4 tests

A check of server-side resources used by skedme.io
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.16 ▼3.36
Dashboard /wp-admin3.32 ▲0.0246.57 ▼1.78
Posts /wp-admin/edit.php3.37 ▲0.0250.02 ▲5.72
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.72 ▼0.65
Media Library /wp-admin/upload.php3.25 ▲0.0235.08 ▲0.40

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for skedme.io
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,836 ▲10113.24 ▼1.064.87 ▲3.1645.98 ▲4.25
Dashboard /wp-admin2,231 ▲435.85 ▲0.7796.94 ▼6.5744.07 ▲2.31
Posts /wp-admin/edit.php2,119 ▲302.05 ▲0.0135.23 ▼1.1931.05 ▼2.01
Add New Post /wp-admin/post-new.php1,539 ▼323.40 ▲5.21658.05 ▲52.3160.58 ▲16.20
Media Library /wp-admin/upload.php1,413 ▲224.16 ▼0.08107.33 ▲7.6345.18 ▲1.67

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/skedme-io/partials/settings_page.php:2

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 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in skedme-io/assets to your readme.txt
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === skedme-io === )
The official readme.txt might help

skedme-io/skedme-io.php Passed 13 tests

Analyzing the main PHP file in "skedme.io" version 1.0.0
136 characters long description:
Plugin skedme.io is an online booking for customers of service companies such as car service centers, beauty salons, hairdressers`, etc.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin347 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP52912180
PO File23668112
CSS112047
JavaScript1208

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity3.33
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity1.47
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods15
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin