Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.29ms] Passed 4 tests
Server-side resources used by WordPress Bootscraper
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.14 ▼4.05 |
Dashboard /wp-admin | 3.39 ▲0.04 | 49.07 ▼10.06 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.56 ▲0.13 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.85 ▲4.48 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.41 ▲0.83 |
WP Bootscraper /wp-admin/tools.php?page=wp-bootscraper | 3.28 | 31.44 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Bootscraper
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.77 ▲0.47 | 1.90 ▲0.10 | 39.18 ▼2.65 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲1.01 | 106.14 ▲5.79 | 40.75 ▼4.66 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.02 | 38.52 ▲2.99 | 35.87 ▲3.33 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 22.87 ▼0.32 | 604.59 ▼80.21 | 47.94 ▼1.93 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.07 | 94.16 ▼14.39 | 39.72 ▼7.36 |
WP Bootscraper /wp-admin/tools.php?page=wp-bootscraper | 824 | 2.06 | 25.64 | 27.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-bootscraper/templates/settings.php
- > /wp-content/plugins/wp-bootscraper/wp-bootscraper.php
- > /wp-content/plugins/wp-bootscraper/index.php
- > /wp-content/plugins/wp-bootscraper/templates/index.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-bootscraper/templates/administrator.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-bootscraper/templates/frontend.php:3
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 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
9 plugin tags: header, site, scripts, cleanup, safe...
wp-bootscraper/wp-bootscraper.php Passed 13 tests
The primary PHP file in "WordPress Bootscraper" version 2.1.0 is used by WordPress to initiate all plugin functionality
49 characters long description:
Scrap out things you don't need on your 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
No dangerous file extensions were detected502 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 64 | 42 | 469 |
JavaScript | 1 | 3 | 0 | 20 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin