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
Install script ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▼4.95ms] Passed 4 tests
Analyzing server-side resources used by Bootstrap Tutorials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.49 | 52.39 ▲12.93 |
Dashboard /wp-admin | 3.79 ▲0.49 | 50.65 ▼5.55 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 54.21 ▼2.36 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.49 | 90.47 ▼15.39 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 41.52 ▲3.52 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bootstrap Tutorials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.26 ▼0.04 | 1.72 ▲0.10 | 42.38 ▼2.49 |
Dashboard /wp-admin | 2,208 ▲31 | 5.58 ▲0.02 | 85.21 ▼12.02 | 38.70 ▼1.28 |
Posts /wp-admin/edit.php | 2,098 ▲1 | 2.08 ▲0.05 | 35.48 ▼0.43 | 38.77 ▲2.32 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.22 ▲5.74 | 656.30 ▼41.66 | 66.07 ▲12.23 |
Media Library /wp-admin/upload.php | 1,413 ▲19 | 4.17 ▼0.28 | 101.96 ▲3.57 | 47.70 ▲3.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bootstrap-tutorials/bootstrap_tutorials.php:6257
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2 in bootstrap-tutorials/assets to your readme.txt
- Tags: You are using too many tags: 24 tag instead of maximum 10
bootstrap-tutorials/bootstrap_tutorials.php 92% from 13 tests
"Bootstrap Tutorials" version 1.1'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 ("bootstrap-tutorials.php" instead of "bootstrap_tutorials.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected5,928 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 557 | 8 | 5,694 |
SVG | 1 | 0 | 0 | 229 |
JavaScript | 2 | 1 | 7 | 4 |
CSS | 1 | 1 | 5 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin