Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.91ms] Passed 4 tests
A check of server-side resources used by WP Courseware for WishList Member
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.07 ▼7.91 |
Dashboard /wp-admin | 3.38 ▲0.08 | 43.70 ▼5.15 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.24 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 94.01 ▼1.21 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.19 ▼0.80 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Courseware for WishList Member
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.66 ▼0.72 | 4.45 ▲2.55 | 40.91 ▼7.50 |
Dashboard /wp-admin | 2,212 ▲21 | 4.86 ▼1.05 | 99.92 ▼12.66 | 41.23 ▼0.97 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.02 ▲0.03 | 40.96 ▲0.92 | 38.36 ▲3.97 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.08 ▼0.31 | 633.42 ▼24.64 | 52.69 ▲2.70 |
Media Library /wp-admin/upload.php | 1,394 ▲15 | 4.19 ▼0.05 | 93.18 ▼12.99 | 41.40 ▼6.02 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wishlist-member-addon-for-wp-courseware/wp-courseware-wishlist-member.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
2 plugin tags: selling online courses, learning management system
wishlist-member-addon-for-wp-courseware/wp-courseware-wishlist-member.php 92% from 13 tests
"WP Courseware for WishList Member" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wishlist-member-addon-for-wp-courseware.php" instead of "wp-courseware-wishlist-member.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin391 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 172 | 220 | 391 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 64.00% |
▷ Protected methods | 7 | 28.00% |
▷ Private methods | 2 | 8.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin