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.48MB] [CPU: ▼0.27ms] Passed 4 tests
This is a short check of server-side resources used by Course Wizard for Sensei
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 41.04 ▼0.98 |
Dashboard /wp-admin | 3.80 ▲0.50 | 47.16 ▼0.64 |
Posts /wp-admin/edit.php | 3.85 ▲0.50 | 53.70 ▲9.16 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 84.33 ▼6.15 |
Media Library /wp-admin/upload.php | 3.72 ▲0.50 | 40.02 ▲6.69 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
course_wizard_for_sensei_version |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Course Wizard for Sensei
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.23 | 1.63 ▼0.60 | 39.93 ▼4.64 |
Dashboard /wp-admin | 2,206 ▲18 | 5.79 ▼0.12 | 100.38 ▼13.96 | 40.43 ▼4.24 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 39.78 ▼0.78 | 39.74 ▲4.01 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.52 ▼0.00 | 692.52 ▼37.86 | 56.35 ▼4.96 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.37 ▲0.15 | 96.22 ▼11.07 | 41.51 ▼4.27 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- course_wizard_for_sensei_version
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
course-wizard-for-sensei/course-wizard-for-sensei.php Passed 13 tests
The main PHP script in "Course Wizard for Sensei" version 1.7.2 is automatically included on every request by WordPress
56 characters long description:
Wizard to easily design and edit courses for Sensei LMS.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin4,958 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,438 | 2,016 | 3,339 |
JavaScript | 9 | 335 | 283 | 1,129 |
LESS | 1 | 88 | 58 | 332 |
PO File | 1 | 53 | 105 | 143 |
JSON | 1 | 0 | 0 | 14 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 173 | |
▷ Static methods | 4 | 2.31% |
▷ Public methods | 104 | 60.12% |
▷ Protected methods | 64 | 36.99% |
▷ Private methods | 5 | 2.89% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 compressed PNG files occupy 0.35MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/cws-screenshot-3.png | 134.51KB | 134.51KB | 0.00% |
assets/img/cws-screenshot-4.png | 54.33KB | 54.33KB | 0.01% |
assets/img/cws-screenshot-5.png | 56.73KB | 56.74KB | 0.00% |
assets/img/cws-screenshot-7.png | 56.10KB | 56.11KB | 0.00% |
assets/img/cws-screenshot-2.png | 40.59KB | 40.58KB | 0.03% |