Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼144.94ms] Passed 4 tests
A check of server-side resources used by ACF Additional Hint
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 25.67 ▲8.68 |
Dashboard /wp-admin | 3.08 ▲0.02 | 33.87 ▼3.27 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 34.48 ▲3.46 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 69.64 ▼581.15 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 22.98 ▲1.20 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF Additional Hint
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.67 ▲0.06 | 8.46 ▲0.00 | 73.53 ▼3.23 |
Dashboard /wp-admin | 2,926 ▲30 | 6.15 ▼0.00 | 116.94 ▼15.85 | 170.39 ▼5.40 |
Posts /wp-admin/edit.php | 2,737 ▼3 | 3.24 ▲0.01 | 66.45 ▼4.40 | 136.38 ▼19.95 |
Add New Post /wp-admin/post-new.php | 3,735 ▼78 | 18.06 ▼0.33 | 460.27 ▲28.66 | 163.62 ▲0.69 |
Media Library /wp-admin/upload.php | 1,746 ▼6 | 5.47 ▼0.08 | 138.88 ▼6.59 | 186.83 ▲2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: acf, field, fields, hint, custom...
acf-additional-hint/acf-additional-hint.php Passed 13 tests
The principal PHP file in "ACF Additional Hint" v. 1.3 is loaded by WordPress automatically on each request
44 characters long description:
A plugin to add help/hint text in ACF field.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected271 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 16 | 6 | 115 |
PHP | 1 | 24 | 70 | 94 |
JavaScript | 1 | 7 | 6 | 31 |
PO File | 1 | 8 | 8 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected