Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.37ms] Passed 4 tests
A check of server-side resources used by Simple Course Creator Customizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 43.21 ▲6.13 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.78 ▼0.32 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.01 ▲3.30 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.61 ▼9.88 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.09 ▼2.58 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Course Creator Customizer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.34 ▼1.17 | 2.04 ▲0.24 | 50.58 ▲7.54 |
Dashboard /wp-admin | 2,200 ▲15 | 4.81 ▼1.06 | 129.19 ▲22.77 | 50.12 ▲2.64 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▲0.02 | 46.68 ▲8.14 | 41.04 ▲5.46 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.71 ▼5.42 | 677.17 ▼33.54 | 56.98 ▼1.72 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.12 | 99.50 ▼18.39 | 40.68 ▼14.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
6 plugin tags: series, sdavis2702, customizer, taxonomy, course...
simple-course-creator-customizer/simple-course-creator-customizer.php 92% from 13 tests
The principal PHP file in "Simple Course Creator Customizer" v. 1.0.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin231 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 62 | 129 | 184 |
Markdown | 1 | 17 | 0 | 26 |
SVG | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
5 PNG files occupy 0.24MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 12.02KB | 3.82KB | ▼ 68.22% |
assets/icon-128x128.png | 3.60KB | 1.09KB | ▼ 69.70% |
assets/banner-1544x500.png | 24.42KB | 7.77KB | ▼ 68.20% |
assets/screenshot-1.png | 201.74KB | 90.21KB | ▼ 55.28% |
assets/icon-256x256.png | 5.78KB | 1.98KB | ▼ 65.82% |