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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼138.99ms] Passed 4 tests
This is a short check of server-side resources used by AD Sliding FAQ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 27.33 ▼4.56 |
Dashboard /wp-admin | 3.12 ▲0.06 | 54.59 ▲11.07 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 46.94 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.64 ▲0.20 | 94.45 ▼552.23 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 32.34 ▼0.44 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by AD Sliding FAQ
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,749 ▲153 | 16.02 ▲0.13 | 12.98 ▲4.93 | 49.56 ▲5.88 |
Dashboard /wp-admin | 3,010 ▲79 | 6.11 ▼0.01 | 141.04 ▼33.97 | 108.60 ▲0.92 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.73 ▲0.02 | 63.76 ▼5.46 | 87.45 ▲2.14 |
Add New Post /wp-admin/post-new.php | 1,526 ▼144 | 18.58 ▼0.56 | 491.09 ▲79.32 | 108.38 ▲3.36 |
Media Library /wp-admin/upload.php | 1,847 ▲40 | 5.10 ▲0.08 | 155.63 ▲2.28 | 116.32 ▲2.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: accordion, faq plugin, wordpress faq, frequently asked questions, faqs...
ad-sliding-faq/any-sliding-faq.php 85% from 13 tests
The principal PHP file in "AD Sliding FAQ" v. 2.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: The principal plugin file should be the same as the plugin slug ("ad-sliding-faq.php" instead of "any-sliding-faq.php")
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
Everything looks great! No dangerous files found in this plugin313 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 120 | 68 | 245 |
CSS | 1 | 11 | 6 | 54 |
JavaScript | 1 | 14 | 5 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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 images were found in this plugin