94% fx-skype-link-enabler

Code Review | f(x) Skype Link Enabler

WordPress plugin f(x) Skype Link Enabler scored 94% from 54 tests.

About plugin

  • Plugin page: fx-skype-link-ena...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.7
  • WordPress version: 5.8.1
  • First release: Feb 16, 2016
  • Latest release: Aug 1, 2016
  • Number of updates: 9
  • Update frequency: every 33.0 days
  • Top authors: turtlepod (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active / 2,092 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼142.31ms] Passed 4 tests

Server-side resources used by f(x) Skype Link Enabler
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1237.97 ▲17.53
Dashboard /wp-admin3.06 ▲0.0145.58 ▲0.99
Posts /wp-admin/edit.php3.11 ▲0.0139.36 ▼1.92
Add New Post /wp-admin/post-new.php5.42 ▼0.0188.69 ▼564.25
Media Library /wp-admin/upload.php3.01 ▲0.0030.60 ▼4.04

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for f(x) Skype Link Enabler
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,702 ▲12015.93 ▼0.129.03 ▲0.8750.09 ▼3.81
Dashboard /wp-admin2,973 ▲425.94 ▼0.14132.78 ▼11.66110.97 ▼5.38
Posts /wp-admin/edit.php2,739 ▼02.72 ▼0.0063.10 ▲2.6388.15 ▼6.47
Add New Post /wp-admin/post-new.php1,672 ▲17218.74 ▼0.12360.97 ▼30.15108.73 ▼2.04
Media Library /wp-admin/upload.php1,807 ▲35.04 ▲0.01146.14 ▲4.26117.38 ▼0.47

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fx-skype-link-enabler/fx-skype-link-enabler.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: spam, comments

fx-skype-link-enabler/fx-skype-link-enabler.php Passed 13 tests

The main PHP file in "f(x) Skype Link Enabler" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
Enable Skype Protocol in Custom Menus Item URL <a href="skype:user.name">.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12246

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
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 images were found in this plugin