94% gitple

Code Review | Gitple - 깃플 채팅 상담

WordPress plugin Gitple - 깃플 채팅 상담 scored 94% from 54 tests.

About plugin

  • Plugin page: gitple
  • Plugin version: 0.3.3
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2.0-4.8.2
  • WordPress version: 5.8.1
  • First release: Oct 24, 2017
  • Latest release: Oct 15, 2018
  • Number of updates: 10
  • Update frequency: every 35.7 days
  • Top authors: gitple (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active / 688 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼143.91ms] Passed 4 tests

An overview of server-side resources used by Gitple - 깃플 채팅 상담
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.0437.19 ▲4.06
Dashboard /wp-admin3.11 ▲0.0649.32 ▲1.34
Posts /wp-admin/edit.php3.22 ▲0.1247.16 ▲2.77
Add New Post /wp-admin/post-new.php5.47 ▲0.0492.63 ▼579.73
Media Library /wp-admin/upload.php3.06 ▲0.0535.85 ▼0.00
Gitple /wp-admin/options-general.php?page=gitple3.0229.27

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: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gitple - 깃플 채팅 상담
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,728 ▲13216.26 ▲0.9516.75 ▲8.2750.00 ▼1.16
Dashboard /wp-admin2,979 ▲425.85 ▼0.15145.10 ▼4.94124.86 ▲9.62
Posts /wp-admin/edit.php2,745 ▲62.68 ▼0.0071.78 ▲0.4995.61 ▲0.55
Add New Post /wp-admin/post-new.php1,690 ▲10916.22 ▼1.99379.18 ▼33.56119.19 ▲5.23
Media Library /wp-admin/upload.php1,816 ▲65.00 ▼0.01170.52 ▲20.54122.98 ▲1.73
Gitple /wp-admin/options-general.php?page=gitple1,0342.0957.0176.00

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 successfully, without leaving any zombie files or tables

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 add_action() in wp-content/plugins/gitple/gitple.php:311

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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: gitple, chat

gitple/gitple.php Passed 13 tests

The entry point to "Gitple - 깃플 채팅 상담" version 0.3.3 is a PHP file that has certain tags in its header comment area
38 characters long description:
Official Gitple support for WordPress.

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
Everything looks great! No dangerous files found in this plugin331 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP12933255
PO File210046
CSS17024
JavaScript17316

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity4.40
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity1.71
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods24
▷ Static methods28.33%
▷ Public methods1875.00%
▷ Protected methods00.00%
▷ Private methods625.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin