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.02MB] [CPU: ▼294.23ms] Passed 4 tests
An overview of server-side resources used by LBK FAQs Schema
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 58.55 ▲10.06 |
Dashboard /wp-admin | 3.47 ▲0.06 | 32.64 ▲0.30 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 36.95 ▼0.04 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.05 | 96.64 ▼1,178.88 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 24.67 ▲1.72 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for LBK FAQs Schema
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,822 ▲100 | 17.50 ▲1.48 | 8.66 ▲2.45 | 3.22 ▲0.81 |
Dashboard /wp-admin | 2,918 ▲60 | 7.15 ▲0.97 | 131.18 ▼1.37 | 158.87 ▼2.57 |
Posts /wp-admin/edit.php | 2,948 ▲260 | 4.67 ▲1.44 | 95.25 ▲30.80 | 140.92 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,715 ▲54 | 20.12 ▲3.65 | 379.80 ▼39.00 | 168.99 ▲18.14 |
Media Library /wp-admin/upload.php | 1,959 ▲261 | 6.54 ▲1.01 | 137.02 ▼4.44 | 180.69 ▼7.52 |
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
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/lbk-faqs-schema/faq-schema.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (The General section of the settings.) image missing
lbk-faqs-schema/faq-schema.php 69% from 13 tests
This is the main PHP file of "LBK FAQs Schema" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("lbk-faqs-schema.php" instead of "faq-schema.php")
- Requires at least: Required version does not match the one declared in readme.txt ("1.1.2" instead of "1.1.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected322 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 179 | 169 |
CSS | 1 | 15 | 0 | 92 |
JavaScript | 1 | 10 | 0 | 61 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 14 | |
▷ Static methods | 7 | 50.00% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin