Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.23ms] Passed 4 tests
An overview of server-side resources used by Simple FAQ by LukasK
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.74 ▼5.58 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.69 ▼3.61 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.88 ▼2.56 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.46 ▼25.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.80 ▲0.75 |
Add New /wp-admin/post-new.php?post_type=lukask_faq | 3.37 | 46.43 |
FAQ settings /wp-admin/edit.php?post_type=lukask_faq&page=lukask_faq_settings | 3.23 | 30.01 |
All questions /wp-admin/edit.php?post_type=lukask_faq | 3.30 | 35.78 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple FAQ by LukasK
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲77 | 13.59 ▼0.76 | 1.73 ▼0.14 | 40.46 ▼2.08 |
Dashboard /wp-admin | 2,231 ▲40 | 5.85 ▲0.92 | 105.61 ▲6.21 | 38.35 ▼4.04 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.06 ▲0.07 | 38.78 ▲0.14 | 34.98 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.07 ▼0.31 | 644.23 ▼13.22 | 56.55 ▼3.50 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.20 ▼0.01 | 109.40 ▲7.88 | 47.09 ▲3.73 |
Add New /wp-admin/post-new.php?post_type=lukask_faq | 2,154 | 7.70 | 158.68 | 60.14 |
FAQ settings /wp-admin/edit.php?post_type=lukask_faq&page=lukask_faq_settings | 890 | 2.03 | 23.65 | 27.37 |
All questions /wp-admin/edit.php?post_type=lukask_faq | 1,084 | 1.99 | 30.85 | 28.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-faq-by-lukask/lukask-faq.php
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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: questions and answers, qa, frequently asked questions, faq
simple-faq-by-lukask/lukask-faq.php 77% from 13 tests
The main PHP script in "Simple FAQ by LukasK" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-faq-by-lukask.php" instead of "lukask-faq.php")
- Description: The description should be shorter than 140 characters (currently 222 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected289 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 25 | 199 |
PO File | 1 | 32 | 32 | 90 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 9 | 100.00% |
▷ Public methods | 9 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin