Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.22ms] Passed 4 tests
An overview of server-side resources used by SQLite Cache
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 33.72 ▼6.15 |
Dashboard /wp-admin | 3.39 ▲0.08 | 52.53 ▲4.26 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.62 ▼2.91 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 78.32 ▼16.87 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.41 ▼2.96 |
SQLite Cache /wp-admin/options-general.php?page=sqlite_cache | 3.25 | 28.02 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SQLite Cache
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.78 ▲0.36 | 1.65 ▼0.39 | 39.38 ▼5.49 |
Dashboard /wp-admin | 2,213 ▲28 | 4.83 ▼0.03 | 111.42 ▼4.38 | 41.48 ▼9.41 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 39.49 ▲1.89 | 34.25 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.38 ▲5.00 | 644.96 ▼7.73 | 48.64 ▼3.90 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.24 ▲0.02 | 96.87 ▼2.64 | 40.38 ▼2.86 |
SQLite Cache /wp-admin/options-general.php?page=sqlite_cache | 950 | 2.16 | 26.79 | 33.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=sqlite_cache
- > Warning in wp-content/plugins/sqlite-cache/wp-sqlite-cache.php+113
parse_ini_file(/domains/wp.com.ini): failed to open stream: No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=sqlite_cache
- > Notice in wp-content/plugins/sqlite-cache/wp-sqlite-cache.php+143
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sqlite-cache/wp-sqlite-cache.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: sqlite, cache, performance
sqlite-cache/wp-sqlite-cache.php 85% from 13 tests
The primary PHP file in "SQLite Cache" version 0.6.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 249 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sqlite-cache.php" instead of "wp-sqlite-cache.php")
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
Everything looks great! No dangerous files found in this plugin705 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 74 | 30 | 457 |
PO File | 2 | 80 | 142 | 239 |
SQL | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 66.00 |
▷ Minimum class complexity | 66.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 17.25 |
▷ Minimum method complexity | 12.00 |
▷ Maximum method complexity | 24.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 50.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin