Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.74ms] Passed 4 tests
Server-side resources used by Starter Blog Templates For Faith Blog
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.56 ▼4.86 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.52 ▼3.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.50 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 101.98 ▲5.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.60 ▲1.46 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_aboutme_widget |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Starter Blog Templates For Faith Blog
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.28 ▼1.10 | 4.67 ▲2.55 | 39.43 ▼6.09 |
Dashboard /wp-admin | 2,211 ▲23 | 4.89 ▲0.00 | 102.89 ▼14.82 | 44.60 ▼2.82 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.02 | 40.00 ▲2.45 | 34.31 ▲1.93 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 23.20 ▲0.02 | 597.16 ▼93.92 | 52.53 ▼8.38 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.20 ▼0.08 | 98.48 ▼13.61 | 44.22 ▼7.57 |
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: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- widget_aboutme_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/errorpage-option.php on line 2
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/footer-option.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/faith-customizer.php:3
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/blogpage-option.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function Stffb_Customize_Control_Separetor() in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/header-option.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/errorpage-option.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/woocommerce-options.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/single-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/starter-blog-templates-for-faith-blog/stffb.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function Stffb_Customize_Control_Separetor() in wp-content/plugins/starter-blog-templates-for-faith-blog/inc/locked-theme-options/typography-option.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 34 tag instead of maximum 10
starter-blog-templates-for-faith-blog/stffb.php 69% from 13 tests
The main PHP file in "Starter Blog Templates For Faith Blog" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("starter-blog-templates-for-faith-blog.php" instead of "stffb.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "5.2")
- Description: Please keep the plugin description shorter than 140 characters (currently 275 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,278 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 70 | 100 | 4,158 |
PHP | 14 | 96 | 53 | 1,120 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
9 PNG files occupy 0.18MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/typography.png | 17.27KB | 9.25KB | ▼ 46.46% |
assets/img/preloader.png | 5.23KB | 2.75KB | ▼ 47.30% |
assets/img/featured.png | 30.75KB | 15.00KB | ▼ 51.24% |
assets/img/blog-post-settings.png | 15.04KB | 7.31KB | ▼ 51.42% |
assets/img/single-post.png | 11.54KB | 4.29KB | ▼ 62.80% |