Benchmarks
Plugin footprint 65% from 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.31MB] [CPU: ▼1.46ms] Passed 4 tests
Server-side resources used by Jinx Fast-Cache
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 40.04 ▲1.72 |
Dashboard /wp-admin | 3.66 ▲0.31 | 47.13 ▼12.84 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 49.52 ▲6.24 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 98.91 ▲1.05 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 37.84 ▲4.24 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- The plugin illegally modified 3 files (30.22KB) outside of "wp-content/plugins/jinx-fast-cache/" and "wp-content/uploads/"
- (modified) .htaccess
- (new file) wp-content/jinx-fast-cache/wp.com/index.json
- (new file) wp-content/jinx-fast-cache/wp.com/index.html
Filesystem: 11 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_jinx_fast_cache_tags |
wp_jinx_fast_cache_expiry |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
jinx_fast_cache_queue |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jinx Fast-Cache
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,718 ▼29 | 14.32 ▼0.03 | 1.58 ▲0.13 | 37.97 ▲1.46 |
Dashboard /wp-admin | 2,212 ▲31 | 5.58 ▼0.13 | 91.69 ▼22.42 | 46.96 ▲3.10 |
Posts /wp-admin/edit.php | 2,158 ▲55 | 1.98 ▼0.03 | 39.74 ▼0.78 | 49.84 ▲17.72 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.56 ▲0.23 | 675.15 ▲20.94 | 56.15 ▼3.75 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.21 ▲0.06 | 99.26 ▲2.87 | 44.16 ▲1.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_jinx_fast_cache_tags
- wp_jinx_fast_cache_expiry
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- jinx_fast_cache_queue
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jinx-fast-cache/index.php on line 23
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/jinx-fast-cache/index.php on line 23
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/jinx-fast-cache/index.php on line 23
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: fullpage, filecache, htaccess, files, html...
jinx-fast-cache/index.php 85% from 13 tests
The principal PHP file in "Jinx Fast-Cache" v. 0.7.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- 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
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jinx-fast-cache.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin935 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 518 | 367 | 921 |
JavaScript | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 8 | 100.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 66 | 100.00% |
▷ Public methods | 48 | 72.73% |
▷ Protected methods | 18 | 27.27% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 19 | 100.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
There were not PNG files found in your plugin