84% wsl-login-extends-naver

Code Review | WordPress Social Login extends NAVER

WordPress plugin WordPress Social Login extends NAVER scored84%from 54 tests.

About plugin

  • Plugin page: wsl-login-extends...
  • Plugin version: 0.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.8.2
  • WordPress version: 6.3.1
  • First release: Jan 27, 2016
  • Latest release: Feb 28, 2018
  • Number of updates: 9
  • Update frequency: every 85.0 days
  • Top authors: kagla (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /7,227 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
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by WordPress Social Login extends NAVER
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.41 ▼0.95
Dashboard /wp-admin3.31 ▲0.0043.92 ▼5.82
Posts /wp-admin/edit.php3.36 ▲0.0047.34 ▼1.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.89 ▼3.30
Media Library /wp-admin/upload.php3.23 ▲0.0036.68 ▲4.24

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by WordPress Social Login extends NAVER
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲6414.42 ▲0.041.60 ▼0.1339.56 ▲0.76
Dashboard /wp-admin2,206 ▲175.89 ▲0.96106.84 ▼2.5638.82 ▼8.34
Posts /wp-admin/edit.php2,089 ▼01.98 ▼0.0638.84 ▲2.9634.30 ▼1.56
Add New Post /wp-admin/post-new.php1,533 ▲1423.57 ▲0.40642.59 ▼31.8151.07 ▲0.16
Media Library /wp-admin/upload.php1,391 ▲34.22 ▲0.0497.84 ▲2.6841.99 ▼2.69

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 take a closer look at the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Hybrid_Provider_Model_OAuth2' not found in wp-content/plugins/wsl-login-extends-naver/providers/Naver.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Hybrid_Provider_Model_OAuth2' not found in wp-content/plugins/wsl-login-extends-naver/providers/Kakao.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 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
6 plugin tags: wordpress social login, kakao, naver login, social login, naver...

wsl-login-extends-naver/wsl-login-extends-naver.php 92% from 13 tests

"WordPress Social Login extends NAVER" version 0.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Text Domain: The text domain should only use lowercase characters and dashes

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
No dangerous file extensions were detected438 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP38790415
PO File11123

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity24.67
▷ Minimum class complexity15.00
▷ Maximum class complexity36.00
Average method complexity3.73
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods26
▷ Static methods00.00%
▷ Public methods1973.08%
▷ Protected methods00.00%
▷ Private methods726.92%
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/32x32/wpzoom/kakao.png1.20KB1.22KB0.00%
assets/img/32x32/icondock/Naver.png1.03KB1.27KB0.00%
assets/img/16x16/kakao.png0.60KB0.70KB0.00%
assets/img/32x32/wpzoom/Naver.png1.03KB1.27KB0.00%
assets/img/16x16/Naver.png0.60KB0.73KB0.00%