Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > User error in wp-content/plugins/innovade-learndash-activities/innovade-ld-activities.php+27
Please activate Learndash LMS plugin.
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.86ms] Passed 4 tests
An overview of server-side resources used by Innovade Learndash Activities
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.55 ▼2.57 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.31 ▼5.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.11 ▲4.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.40 ▼12.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.49 ▲1.06 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Innovade Learndash Activities
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲132 | 13.62 ▼0.80 | 5.86 ▲3.68 | 40.18 ▼12.14 |
Dashboard /wp-admin | 2,211 ▲23 | 4.90 ▼0.15 | 109.83 ▼5.76 | 38.79 ▼10.28 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.06 ▲0.05 | 39.89 ▲2.94 | 35.95 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.14 ▲5.63 | 608.28 ▼74.79 | 51.43 ▼1.75 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.36 ▲0.12 | 97.04 ▲2.68 | 41.24 ▼1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/innovade-learndash-activities/inc/inn-admin-fields.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/innovade-learndash-activities/innovade-ld-activities.php:13
- > PHP Fatal error
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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: learndash, topics, lms, learning, activities
innovade-learndash-activities/innovade-ld-activities.php 77% from 13 tests
Analyzing the main PHP file in "Innovade Learndash Activities" version 1.0.0
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.9" instead of "4.8")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("innovade-learndash-activities.php" instead of "innovade-ld-activities.php")
- 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
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
Good job! No executable or dangerous file extensions detected760 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 126 | 139 | 742 |
JavaScript | 1 | 3 | 1 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 5 | |
▷ Named functions | 5 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin