Benchmarks
Plugin footprint 56% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/seraphinite-accelerator/Cmn/Gen.php+792
fopen(wp-content/cache/seraphinite-accelerator/at): failed to open stream: No such file or directory
Server metrics [RAM: ▲6.72MB] [CPU: ▲23.98ms] 50% from 4 tests
Analyzing server-side resources used by Seraphinite Accelerator
Please have a look at the following items
- RAM: Try to keep total memory usage under 10MB (currently 10.70MB on /wp-admin/admin.php?page=seraph_accel_settings)
- Extra RAM: Extra memory usage should kept under 5MB (currently 6.72MB on /wp-admin/admin.php?page=seraph_accel_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.58 ▲6.12 | 65.10 ▲24.41 |
Dashboard /wp-admin | 10.00 ▲6.66 | 79.39 ▲14.89 |
Posts /wp-admin/edit.php | 10.39 ▲7.03 | 78.38 ▲26.97 |
Add New Post /wp-admin/post-new.php | 12.95 ▲7.07 | 129.10 ▲29.66 |
Media Library /wp-admin/upload.php | 10.33 ▲7.10 | 76.85 ▲42.40 |
Manager /wp-admin/admin.php?page=seraph_accel_manage | 10.30 | 66.36 |
Settings /wp-admin/admin.php?page=seraph_accel_settings | 10.70 | 93.62 |
Server storage [IO: ▲1.71MB] [DB: ▲0.05MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- You have illegally modified 14 files (46.74KB) outside of "wp-content/plugins/seraphinite-accelerator/" and "wp-content/uploads/"
- (modified) .htaccess
- (modified) wp-config.php
- (new file) wp-content/cache/seraphinite-accelerator/at
- (new file) wp-content/cache/seraphinite-accelerator/at.m
- (new file) wp-content/advanced-cache.php
- (new file) seraphinite-accelerator-2023-11-25_080931.htaccess
- (new file) seraph-accel-img-compr-redir.conf
- (new file) wp-content/cache/seraphinite-accelerator/pl
- (new file) wp-content/cache/seraphinite-accelerator/dl
- (new file) wp-content/cache/seraphinite-accelerator/q/m/l
- ...
Filesystem: 121 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
seraph_accel_Sett |
can_compress_scripts |
widget_theysaidso_widget |
seraph_accel_State |
theysaidso_admin_options |
seraph_accel_Data |
seraph_accel_RmtCfg |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Seraphinite Accelerator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲81 | 14.24 ▼0.00 | 1.30 ▼0.49 | 36.97 ▼7.90 |
Dashboard /wp-admin | 2,251 ▲74 | 5.68 ▲0.00 | 97.01 ▼2.53 | 82.15 ▲34.67 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 1.97 ▲0.02 | 38.29 ▼1.50 | 34.37 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,703 ▲176 | 21.54 ▼1.91 | 756.19 ▲98.56 | 57.88 ▲10.98 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.04 ▼0.15 | 98.82 ▼5.80 | 64.77 ▲20.64 |
Manager /wp-admin/admin.php?page=seraph_accel_manage | 1,592 | 2.57 | 54.46 | 63.33 |
Settings /wp-admin/admin.php?page=seraph_accel_settings | 11,850 | 3.86 | 174.20 | 68.21 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- seraph_accel_State
- seraph_accel_RmtCfg
- seraph_accel_Sett
- seraph_accel_Data
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=seraph_accel_manage
- > Warning in wp-content/plugins/seraphinite-accelerator/Cmn/Gen.php+792
fopen(wp-content/cache/seraphinite-accelerator/s/m/up): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=seraph_accel_manage
- > Warning in wp-content/plugins/seraphinite-accelerator/Cmn/Gen.php+792
fopen(wp-content/cache/seraphinite-accelerator/uppq/m/l): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=seraph_accel_manage
- > Warning in wp-content/plugins/seraphinite-accelerator/Cmn/Gen.php+792
fopen(wp-content/cache/seraphinite-accelerator/upq/m/l): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=seraph_accel_manage
- > Warning in wp-content/plugins/seraphinite-accelerator/Cmn/Gen.php+817
fopen(wp-content/cache/seraphinite-accelerator/s/m/schu): failed to open stream: No such file or directory
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=seraph_accel_manage
- > Warning in wp-content/plugins/seraphinite-accelerator/Cmn/Gen.php+817
fopen(wp-content/cache/seraphinite-accelerator/s/m/cln): failed to open stream: No such file or directory
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
Please take a closer look at the following
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/OptionsProcessor.php:52
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/CreateDefinitionProcessor.php:52
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionOptionsProcessor.php:53
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/WithProcessor.php:44
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/RenameProcessor.php:53
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\FromProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/UpdateProcessor.php:51
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionDefinitionProcessor.php:53
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\ExplainProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/DescribeProcessor.php:51
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/SubpartitionDefinitionProcessor.php:53
- > PHP Fatal error
Uncaught Error: Class 'seraph_accel\\PHPSQLParser\\processors\\AbstractProcessor' not found in wp-content/plugins/seraphinite-accelerator/Cmn/Ext/PHP/PHPSQLParser/processors/ExplainProcessor.php:52
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 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
5 plugin tags: performance, speed up, cache, optimize, pagespeed
seraphinite-accelerator/plugin_root.php 92% from 13 tests
The principal PHP file in "Seraphinite Accelerator" v. 2.20.36 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seraphinite-accelerator.php" instead of "plugin_root.php")
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected28,116 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 6,449 | 5,255 | 26,767 |
JavaScript | 11 | 193 | 111 | 899 |
HTML | 1 | 0 | 0 | 444 |
JSON | 4 | 0 | 0 | 4 |
CSS | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 160)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 37.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 361.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 160.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 97 | |
▷ Abstract classes | 1 | 1.03% |
▷ Concrete classes | 96 | 98.97% |
▷ Final classes | 1 | 1.04% |
Methods | 908 | |
▷ Static methods | 582 | 64.10% |
▷ Public methods | 674 | 74.23% |
▷ Protected methods | 132 | 14.54% |
▷ Private methods | 102 | 11.23% |
Functions | 429 | |
▷ Named functions | 237 | 55.24% |
▷ Anonymous functions | 192 | 44.76% |
Constants | 218 | |
▷ Global constants | 2 | 0.92% |
▷ Class constants | 216 | 99.08% |
▷ Public constants | 216 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Images/VendorLogo.png | 1.47KB | 1.45KB | ▼ 1.40% |
icon.png | 0.26KB | 0.26KB | 0.00% |
Images/Test.png | 0.07KB | 0.09KB | 0.00% |
Images/ProductLogo.png | 3.23KB | 2.18KB | ▼ 32.36% |