Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼289.38ms] Passed 4 tests
This is a short check of server-side resources used by Super Simple Site Offline
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.13 | 54.47 ▲6.86 |
Dashboard /wp-admin | 3.53 ▲0.13 | 35.60 ▲3.42 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 40.50 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.02 | 97.02 ▼1,162.58 |
Media Library /wp-admin/upload.php | 3.40 ▲0.11 | 23.52 ▲0.23 |
Offline /wp-admin/options-general.php?page=bcSOFF_offline_settings | 3.41 | 28.16 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 1 new option
New WordPress options |
---|
bcSOFF_share_data |
Browser metrics Passed 4 tests
An overview of browser requirements for Super Simple Site Offline
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,995 ▲241 | 17.29 ▲1.69 | 5.97 ▼0.03 | 2.36 ▼0.37 |
Dashboard /wp-admin | 3,092 ▲231 | 8.02 ▲1.89 | 139.23 ▲8.17 | 154.61 ▼7.07 |
Posts /wp-admin/edit.php | 2,920 ▲232 | 5.06 ▲1.82 | 78.03 ▲12.49 | 138.53 ▼13.38 |
Add New Post /wp-admin/post-new.php | 1,712 ▲51 | 17.44 ▲1.39 | 395.97 ▼4.49 | 184.10 ▲35.14 |
Media Library /wp-admin/upload.php | 1,705 ▲7 | 5.33 ▼0.15 | 109.45 ▼32.68 | 191.40 ▼4.58 |
Offline /wp-admin/options-general.php?page=bcSOFF_offline_settings | 1,458 | 4.19 | 68.21 | 146.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/super-simple-site-offline-beta/template/wp-admin-design.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-simple-site-offline-beta/functions/admin.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/super-simple-site-offline-beta/classes/post.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/super-simple-site-offline-beta/template/wp-admin-premium.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/super-simple-site-offline-beta/template/wp-admin-form.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/super-simple-site-offline-beta/template/wp-admin-form.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/super-simple-site-offline-beta/classes/post.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/super-simple-site-offline-beta/template/wp-offline-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/super-simple-site-offline-beta/template/wp-admin-stats.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/super-simple-site-offline-beta/template/wp-admin-access.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Requires php: Invalid plugin version format
super-simple-site-offline-beta/simple-site-offline.php 69% from 13 tests
The primary PHP file in "Super Simple Site Offline" version 2.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("super-simple-site-offline-beta.php" instead of "simple-site-offline.php")
- Description: The description should be shorter than 140 characters (currently 274 characters long)
- Domain Path: The domain path folder was not found ("/lang")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,343 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 248 | 109 | 721 |
CSS | 6 | 119 | 11 | 622 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.80 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 12 | 75.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 1.48MB with 1.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 172.93KB | 48.87KB | ▼ 71.74% |
screenshot-2.png | 238.81KB | 57.06KB | ▼ 76.10% |
screenshot-4.png | 1,009.23KB | 308.89KB | ▼ 69.39% |
screenshot-3.png | 94.11KB | 25.69KB | ▼ 72.71% |