Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.36ms] Passed 4 tests
Server-side resources used by Custom Template for LifterLMS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.76 ▼0.68 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.78 ▼17.01 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.17 ▼6.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.49 ▼8.90 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.37 ▲0.64 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Template for LifterLMS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 13.94 ▼0.33 | 2.28 ▲0.71 | 43.09 ▲0.91 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.14 | 88.00 ▼15.99 | 40.44 ▼1.26 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.97 ▲0.03 | 38.80 ▲2.23 | 35.38 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.13 ▲0.04 | 630.40 ▼50.16 | 51.16 ▼7.01 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.16 ▼0.02 | 96.40 ▼7.48 | 40.80 ▼5.63 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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 no errors were found, 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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/custom-template-lifterlms/custom-template-lifterlms.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: beaver builder, elementor, lifterlms, course, visual composer...
custom-template-lifterlms/custom-template-lifterlms.php 92% from 13 tests
The primary PHP file in "Custom Template for LifterLMS" version 1.0.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin408 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 135 | 240 | 408 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 7 | 24.14% |
▷ Public methods | 26 | 89.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.34% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin