Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.92MB] [CPU: ▼50.54ms] Passed 4 tests
Server-side resources used by WP Offline Browser
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.39 ▼33.43 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.45 ▼44.71 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.83 ▼40.57 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.04 ▼83.46 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 4.88 ▼28.74 |
WP Offline Browser /wp-admin/options-general.php?page=wpofflinebrowser | 2.08 | 5.75 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Offline Browser
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.56 ▼0.72 | 2.26 ▲0.51 | 38.28 ▼3.81 |
Dashboard /wp-admin | 2,215 ▲29 | 4.86 ▼0.08 | 96.33 ▼16.14 | 42.54 ▲3.95 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.14 ▲0.12 | 39.28 ▲3.33 | 33.77 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.52 ▲0.98 | 655.78 ▼64.06 | 50.18 ▼3.08 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.29 ▲0.07 | 110.22 ▲6.34 | 51.72 ▲7.48 |
WP Offline Browser /wp-admin/options-general.php?page=wpofflinebrowser | 765 | 2.07 | 23.87 | 23.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the updater handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wpofflinebrowser
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the updater handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-offline-browser/wp-offline-browser.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=wpofflinebrowser
- > Javascript (severe) in unknown
/wp-content/plugins/wp-offline-browser/includes/updater.js?ver=6.3.1 9:6 Uncaught TypeError: Cannot read properties of undefined (reading 'addEventListener')
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: wp-cache, wp-offline-browser, cache-plugin, cache-manifest
wp-offline-browser/wp-offline-browser.php Passed 13 tests
The entry point to "WP Offline Browser" version 1.0 is a PHP file that has certain tags in its header comment area
123 characters long description:
This is one of the best plugin which creates offline cache and increases loading time and speed of your wordpress website.
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
Success! There were no dangerous files found in this plugin158 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 18 | 119 |
JavaScript | 1 | 4 | 0 | 38 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin