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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.04 | 37.19 ▲4.06 |
Dashboard /wp-admin | 3.11 ▲0.06 | 49.32 ▲1.34 |
Posts /wp-admin/edit.php | 3.22 ▲0.12 | 47.16 ▲2.77 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 92.63 ▼579.73 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 35.85 ▼0.00 |
Gitple /wp-admin/options-general.php?page=gitple | 3.02 | 29.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,728 ▲132 | 16.26 ▲0.95 | 16.75 ▲8.27 | 50.00 ▼1.16 |
Dashboard /wp-admin | 2,979 ▲42 | 5.85 ▼0.15 | 145.10 ▼4.94 | 124.86 ▲9.62 |
Posts /wp-admin/edit.php | 2,745 ▲6 | 2.68 ▼0.00 | 71.78 ▲0.49 | 95.61 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,690 ▲109 | 16.22 ▼1.99 | 379.18 ▼33.56 | 119.19 ▲5.23 |
Media Library /wp-admin/upload.php | 1,816 ▲6 | 5.00 ▼0.01 | 170.52 ▲20.54 | 122.98 ▲1.73 |
Gitple /wp-admin/options-general.php?page=gitple | 1,034 | 2.09 | 57.01 | 76.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 33 | 255 |
PO File | 2 | 10 | 0 | 46 |
CSS | 1 | 7 | 0 | 24 |
JavaScript | 1 | 7 | 31 | 6 |
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 code | 0.24 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 18 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 25.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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