Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.34ms] Passed 4 tests
Analyzing server-side resources used by Light LMS Quizz
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.83 ▼0.22 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.41 ▼3.35 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.92 ▼3.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.00 ▼14.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.09 ▼0.06 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Light LMS Quizz
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲101 | 13.88 ▼0.46 | 8.35 ▲5.93 | 40.48 ▼14.68 |
Dashboard /wp-admin | 2,200 ▲23 | 5.59 ▼0.10 | 92.71 ▲4.93 | 36.77 ▼5.39 |
Posts /wp-admin/edit.php | 2,102 ▲5 | 1.98 ▼0.02 | 40.10 ▲1.25 | 36.64 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.12 ▲0.01 | 648.94 ▲54.48 | 54.39 ▼7.03 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.33 ▲0.07 | 104.88 ▲1.49 | 47.96 ▲3.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/light-lms-quizz/ligth-lms-quizz.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 86% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (People answering the question get a feedback when the answer is right or wrong.), #2 (Enter multiple choices questions simply by adding a block to a page or post.), #3 (Enter the question and answers and fill out the settings. Leave some answers blank in order to hide them.)
- Screenshots: Please add descriptions for these screenshots #0, #0, #0 in light-lms-quizz/assets to your readme.txt
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== light-lms-quizz ===
)
light-lms-quizz/ligth-lms-quizz.php 92% from 13 tests
The main PHP script in "Light LMS Quizz" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("light-lms-quizz.php" instead of "ligth-lms-quizz.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,207 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 534 | 596 | 1,180 |
JavaScript | 2 | 108 | 2 | 897 |
CSS | 2 | 2 | 0 | 72 |
PHP | 1 | 29 | 20 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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