Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.70ms] Passed 4 tests
Analyzing server-side resources used by Theme Creator for Bootstrap
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.97 ▼1.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.78 ▼0.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.44 ▼7.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.03 ▼28.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.28 ▲2.26 |
Getting Started /wp-admin/admin.php?page=bootstrap-start | 3.20 | 30.34 |
Create Theme /wp-admin/admin.php?page=bootstrap-create | 3.20 | 32.06 |
Server storage [IO: ▲8.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Theme Creator for Bootstrap
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲79 | 13.26 ▼1.11 | 1.66 ▼0.39 | 46.02 ▲5.59 |
Dashboard /wp-admin | 2,256 ▲68 | 4.88 ▼0.04 | 113.83 ▲7.79 | 42.09 ▼1.70 |
Posts /wp-admin/edit.php | 2,146 ▲54 | 2.03 ▲0.06 | 35.69 ▼6.40 | 33.82 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,561 ▲40 | 18.81 ▼4.46 | 615.28 ▼42.03 | 54.38 ▲1.81 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.22 ▼0.00 | 97.50 ▼8.86 | 43.10 ▼8.26 |
Getting Started /wp-admin/admin.php?page=bootstrap-start | 975 | 2.06 | 26.51 | 32.89 |
Create Theme /wp-admin/admin.php?page=bootstrap-create | 1,040 | 1.83 | 28.32 | 33.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: wordpress, themes, responsive, bootstrap
theme-creator-with-bootstrap/theme-creator-with-bootstrap.php Passed 13 tests
"Theme Creator for Bootstrap" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
73 characters long description:
This plugin allows you to easly create your Bootstrap Theme in Wordpress.
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
Good job! No executable or dangerous file extensions detected1,935 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 401 | 64 | 1,796 |
CSS | 4 | 28 | 24 | 137 |
JavaScript | 2 | 0 | 12 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
24 PNG files occupy 7.25MB with 5.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Tutorial/tutorial2.png | 30.77KB | 10.58KB | ▼ 65.63% |
images/page2.png | 71.37KB | 11.32KB | ▼ 84.14% |
images/Layout5/screenshot.png | 1,575.01KB | 470.85KB | ▼ 70.10% |
images/page1.png | 71.71KB | 11.46KB | ▼ 84.01% |
images/5option.png | 9.60KB | 4.94KB | ▼ 48.50% |