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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1,172.43ms] Passed 4 tests
This is a short check of server-side resources used by Append User ID
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 41.71 ▲21.13 |
Dashboard /wp-admin | 3.06 ▲0.01 | 44.60 ▲5.00 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 42.08 ▼1.17 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.00 | 98.56 ▼4,693.67 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 31.80 ▲0.14 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Append User ID
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,661 ▲55 | 16.00 ▲0.51 | 9.50 ▲1.11 | 47.30 ▼2.06 |
Dashboard /wp-admin | 2,939 ▲89 | 6.15 ▲0.26 | 143.26 ▲1.06 | 102.80 ▼2.20 |
Posts /wp-admin/edit.php | 2,695 ▼11 | 2.60 ▼0.10 | 66.90 ▲2.45 | 91.65 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,657 ▼196 | 18.72 ▼0.45 | 358.12 ▼9.18 | 103.91 ▼1.61 |
Media Library /wp-admin/upload.php | 1,779 ▲4 | 5.01 ▼0.02 | 137.64 ▼4.14 | 109.12 ▼0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #2 (Backend view) image missing
append-user-id/append-user-id.php 85% from 13 tests
"Append User ID" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin457 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 137 | 413 | 435 |
JSON | 2 | 0 | 0 | 15 |
JavaScript | 1 | 1 | 0 | 4 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 4 | 10.81% |
▷ Public methods | 33 | 89.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.81% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected