10% appointlet

Code Review | Appointlet

WordPress plugin Appointlet scored10%from 54 tests.

About plugin

  • Plugin page: appointlet
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-3.5
  • WordPress version: 6.3.1
  • First release: Feb 19, 2013
  • Latest release: Apr 18, 2013
  • Number of updates: 9
  • Update frequency: every 7.9 days
  • Top authors: appointlet (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /3,384 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/appointlet/appointlet.php+186
    Function create_function() is deprecated

Server metrics [RAM: ▼1.96MB] [CPU: ▼56.81ms] Passed 4 tests

An overview of server-side resources used by Appointlet
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.445.95 ▼35.03
Dashboard /wp-admin2.05 ▼1.266.04 ▼42.12
Posts /wp-admin/edit.php2.05 ▼1.315.33 ▼60.79
Add New Post /wp-admin/post-new.php2.05 ▼3.845.05 ▼89.29
Media Library /wp-admin/upload.php2.05 ▼1.185.57 ▼29.86

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_appointlet
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Appointlet
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲5714.24 ▼0.352.04 ▲0.3143.20 ▼0.73
Dashboard /wp-admin2,202 ▲225.59 ▼0.0885.71 ▼4.7236.90 ▼1.24
Posts /wp-admin/edit.php2,104 ▲12.02 ▲0.0034.50 ▼5.7933.57 ▼1.11
Add New Post /wp-admin/post-new.php1,542 ▲718.15 ▼4.90610.53 ▼5.5390.97 ▲38.48
Media Library /wp-admin/upload.php1,407 ▲164.27 ▼0.03103.10 ▼2.0842.41 ▼3.76

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/appointlet/appointlet.php+186
    Function create_function() is deprecated
  • This plugin does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • widget_appointlet
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/appointlet/views/widget.php
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/appointlet/views/widget.php on line 1
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/appointlet/appointlet.php:32
    • > PHP Notice
      Undefined variable: instance in wp-content/plugins/appointlet/views/widget.php on line 1
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/appointlet/views/admin.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Donate link: Please fix this invalid URI: ""
The official readme.txt might help

appointlet/appointlet.php 92% from 13 tests

The principal PHP file in "Appointlet" v. 2.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin153 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP34088110
PO File10017
CSS23113
JavaScript20113

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin