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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.23ms] Passed 4 tests
This is a short check of server-side resources used by CLUEVO LMS Extension: Google Documents as modules
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.33 ▼2.58 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.87 ▼7.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.48 ▼4.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.89 ▼6.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.65 ▼0.41 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CLUEVO LMS Extension: Google Documents as modules
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.70 ▲0.32 | 2.08 ▲0.52 | 51.31 ▲10.66 |
Dashboard /wp-admin | 2,195 ▲21 | 5.60 ▲0.03 | 87.88 ▼11.74 | 42.40 ▼0.09 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.03 | 38.77 ▼3.84 | 33.87 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.66 ▼1.06 | 639.98 ▼28.69 | 54.75 ▼2.27 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.09 ▼0.10 | 104.45 ▲0.22 | 43.89 ▼3.37 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 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 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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cluevo-lms-extension-gdocs-modules/cluevo-lms-extension-gdocs-modules.php:25
- > PHP Fatal error
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 90% 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
Please fix the following attributes:
- Tags: There are too many tags (17 tag instead of maximum 10)
cluevo-lms-extension-gdocs-modules/cluevo-lms-extension-gdocs-modules.php 85% from 13 tests
The main PHP script in "CLUEVO LMS Extension: Google Documents as modules" version 1.1.0 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "1.11.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected626 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 13 | 363 |
JavaScript | 2 | 7 | 1 | 150 |
PO File | 2 | 45 | 106 | 95 |
CSS | 1 | 4 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 17 | |
▷ Static methods | 17 | 100.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner-1544x500.png | 81.20KB | 27.45KB | ▼ 66.20% |
images/banner-772x250.png | 33.98KB | 11.52KB | ▼ 66.08% |
images/icon-module-ui-gdocs_256x256.png | 11.29KB | 5.03KB | ▼ 55.44% |