84% allow-skype-protocol

Code Review | Allow Skype Protocol

WordPress plugin Allow Skype Protocol scored 84% from 54 tests.

About plugin

  • Plugin page: allow-skype-protocol
  • Plugin version: 1.01
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.2
  • WordPress version: 6.3.1
  • First release: Mar 25, 2020
  • Latest release: May 19, 2023
  • Number of updates: 10
  • Update frequency: every 115.1 days
  • Top authors: clicface (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 689 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.00MB] [CPU: ▼5.71ms] Passed 4 tests

Server-side resources used by Allow Skype Protocol
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.20 ▼8.15
Dashboard /wp-admin3.31 ▲0.0171.30 ▲24.81
Posts /wp-admin/edit.php3.36 ▲0.0049.05 ▼3.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0099.12 ▼6.88
Media Library /wp-admin/upload.php3.23 ▲0.0037.09 ▼4.03

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Allow Skype Protocol: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▼0.271.83 ▼0.1943.75 ▼0.83
Dashboard /wp-admin2,203 ▲125.75 ▲0.82114.65 ▼35.8655.03 ▼10.84
Posts /wp-admin/edit.php2,089 ▼32.02 ▲0.0438.36 ▼13.7335.75 ▼3.56
Add New Post /wp-admin/post-new.php1,514 ▼1917.75 ▼5.33651.03 ▼76.5752.55 ▼18.99
Media Library /wp-admin/upload.php1,391 ▲34.38 ▲0.26102.51 ▼18.7544.43 ▼9.39

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/allow-skype-protocol/allow-skype-protocol.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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
4 plugin tags: skype uri, skype link, protocol, skype

allow-skype-protocol/allow-skype-protocol.php Passed 13 tests

"Allow Skype Protocol" version 1.01's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
50 characters long description:
A simple plugin to allow Skype protocol in a link.

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
No dangerous file extensions were detected6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1186

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions1100.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
No PNG files were detected