84% integrate-skype

Code Review | Skype integrate

WordPress plugin Skype integrate scored84%from 54 tests.

About plugin

  • Plugin page: integrate-skype
  • Plugin version: 2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.8-4.9.7
  • WordPress version: 6.3.1
  • First release: Sep 14, 2018
  • Latest release: Sep 18, 2018
  • Number of updates: 14
  • Update frequency: every 0.4 days
  • Top authors: aiqua011 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,093 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼1.48ms] Passed 4 tests

A check of server-side resources used by Skype integrate
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.84 ▲4.45
Dashboard /wp-admin3.33 ▲0.0352.72 ▼0.44
Posts /wp-admin/edit.php3.38 ▲0.0245.84 ▼5.24
Add New Post /wp-admin/post-new.php5.93 ▲0.04114.03 ▲17.72
Media Library /wp-admin/upload.php3.25 ▲0.0236.39 ▼4.67

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

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

Browser metrics Passed 4 tests

Skype integrate: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,916 ▲15513.79 ▼0.3213.92 ▲12.3743.99 ▲6.88
Dashboard /wp-admin2,217 ▲405.84 ▲0.2186.19 ▼7.7440.48 ▼1.72
Posts /wp-admin/edit.php2,121 ▲212.30 ▲0.3135.59 ▼8.2931.00 ▼3.15
Add New Post /wp-admin/post-new.php1,540 ▲1422.93 ▼0.21675.92 ▼50.0437.85 ▼16.37
Media Library /wp-admin/upload.php1,419 ▲224.39 ▲0.18102.34 ▲7.2343.81 ▼1.86

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/integrate-skype/integrate-skype.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed: You can look at the official readme.txt

integrate-skype/integrate-skype.php Passed 13 tests

The main file in "Skype integrate" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
115 characters long description:
With these plugins, you can chat with anyone on Skype from your website. This plugin will be improved in the future

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected73 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP2181264
JavaScript2006
CSS1003

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.03
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%
Functions10
▷ Named functions10100.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