Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼196.06ms] Passed 4 tests
A check of server-side resources used by ACF Tab & Accordion Title Icons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 24.86 ▲1.65 |
Dashboard /wp-admin | 3.06 ▼0.00 | 33.41 ▼7.08 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 29.99 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 70.15 ▼777.22 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 22.42 ▼1.01 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF Tab & Accordion Title Icons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.98 ▼0.02 | 5.84 ▲0.79 | 76.97 ▼0.76 |
Dashboard /wp-admin | 2,929 ▲37 | 6.12 ▼0.05 | 116.84 ▼22.85 | 168.68 ▼14.40 |
Posts /wp-admin/edit.php | 2,737 ▼6 | 3.24 ▲0.00 | 63.27 ▼4.29 | 138.19 ▲1.49 |
Add New Post /wp-admin/post-new.php | 3,698 ▼37 | 18.09 ▲0.25 | 435.42 ▲17.16 | 161.08 ▼1.37 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.50 ▼0.04 | 140.23 ▼6.21 | 180.49 ▼6.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: accordions, tabs, advanced custom fields, tab, acfpro...
acf-tab-accordion-title-icons/acf-tab-accordion-title-icons.php 92% from 13 tests
Analyzing the main PHP file in "ACF Tab & Accordion Title Icons" version 1.0.1
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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
There were no executable files found in this plugin8,460 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 7,135 |
CSS | 2 | 12 | 2 | 807 |
SVG | 1 | 0 | 0 | 256 |
PHP | 1 | 59 | 51 | 168 |
PO File | 2 | 30 | 30 | 94 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.60 |
▷ 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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin