Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.49ms] Passed 4 tests
This is a short check of server-side resources used by WP Courseware for WPBakery Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.34 ▼3.17 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.35 ▼12.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.43 ▼4.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.88 ▼17.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.93 ▲0.71 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Courseware for WPBakery Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.10 ▼0.27 | 1.87 ▲0.36 | 38.40 ▼1.54 |
Dashboard /wp-admin | 2,198 ▲20 | 5.58 ▼0.07 | 82.06 ▼40.88 | 38.21 ▼13.48 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.07 | 33.97 ▼6.90 | 32.62 ▼5.10 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.26 ▲0.02 | 664.54 ▲3.65 | 52.67 ▲0.87 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.00 | 95.75 ▼3.72 | 45.50 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: selling courses online, learning management system
vc-addon-for-wp-courseware/visual-composer-addon-for-wp-courseware.php 92% from 13 tests
The principal PHP file in "WP Courseware for WPBakery Page Builder" v. 1.8 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("vc-addon-for-wp-courseware.php" instead of "visual-composer-addon-for-wp-courseware.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
There were no executable files found in this plugin90 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 52 | 90 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 6 | |
▷ Static methods | 3 | 50.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 1 | 16.67% |
▷ 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/wpcw-icon.png | 25.88KB | 8.88KB | ▼ 65.68% |