Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.90MB] [CPU: ▼38.99ms] Passed 4 tests
An overview of server-side resources used by WP-FFPC
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.08 ▼0.39 | 18.16 ▼21.27 |
Dashboard /wp-admin | 3.12 ▼0.19 | 21.60 ▼28.88 |
Posts /wp-admin/edit.php | 3.12 ▼0.24 | 17.56 ▼28.86 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 19.34 ▼76.96 |
Media Library /wp-admin/upload.php | 3.12 ▼0.11 | 19.19 ▼11.70 |
WP-FFPC /wp-admin/options-general.php?page=wp-ffpc-settings | 3.12 | 18.60 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP-FFPC
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.25 ▼1.50 | 1.93 ▲0.23 | 32.47 ▼10.65 |
Dashboard /wp-admin | 2,233 ▲45 | 5.91 ▲0.03 | 100.81 ▼1.86 | 40.36 ▼4.22 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.36 ▲0.36 | 32.52 ▼5.78 | 34.53 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,544 ▲8 | 23.21 ▲0.02 | 664.93 ▲66.20 | 53.96 ▲7.96 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.29 ▲0.06 | 97.72 ▼1.74 | 45.30 ▲0.09 |
WP-FFPC /wp-admin/options-general.php?page=wp-ffpc-settings | 1,762 | 2.14 | 45.49 | 41.00 |
Uninstaller [IO: ▲0.18MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following itemsZombie WordPress options detected upon uninstall: 7 options
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-ffpc/wp-ffpc-class.php+1018
Trying to access array offset on value of type bool
- Incomplete uninstall procedure, leaving 17 files (0.18MB) in the plugin directory
- (new file) backends/apcu.php
- (new file) languages/wp-ffpc.pot
- (new file) backends/memcached.php
- (new file) readme.txt
- (new file) uninstall.php
- (new file) backends/memcache.php
- (new file) languages/wp-ffpc-it_IT.mo
- (new file) languages/wp-ffpc-it_IT.po
- (new file) backends/apc.php
- (new file) composer.json
- ...
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-ffpc-settings
- > Notice in wp-content/plugins/wp-ffpc/wp-ffpc-class.php+1018
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=wp-ffpc-settings
- > Warning in wp-content/plugins/wp-ffpc/wp-ffpc-abstract.php+275
array_key_exists() expects parameter 2 to be array, bool given
- > GET request to /wp-admin/options-general.php?page=wp-ffpc-settings
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
SRP 0% 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
Please fix the following items
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-ffpc/wp-ffpc-abstract.php
- > /wp-content/plugins/wp-ffpc/wp-ffpc.php
- > /wp-content/plugins/wp-ffpc/wp-ffpc-class.php
- > /wp-content/plugins/wp-ffpc/wp-ffpc-backend.php
- > /wp-content/plugins/wp-ffpc/wp-ffpc-acache.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_FFPC_Backend' not found in wp-content/plugins/wp-ffpc/backends/memcache.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_FFPC_Backend' not found in wp-content/plugins/wp-ffpc/backends/apcu.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_FFPC_Backend' not found in wp-content/plugins/wp-ffpc/backends/apc.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_FFPC_Backend' not found in wp-content/plugins/wp-ffpc/backends/memcached.php:5
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: apc, memcached, nginx, cache
wp-ffpc/wp-ffpc.php Passed 13 tests
The main file in "WP-FFPC" v. 1.11.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
42 characters long description:
WordPress in-memory full page cache plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,760 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 567 | 879 | 2,124 |
PO File | 1 | 152 | 153 | 454 |
CSS | 1 | 23 | 0 | 171 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 40.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 2 | 28.57% |
▷ Concrete classes | 5 | 71.43% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 9 | 8.74% |
▷ Public methods | 56 | 54.37% |
▷ Protected methods | 40 | 38.83% |
▷ Private methods | 7 | 6.80% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 21 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 21 | 100.00% |
▷ Public constants | 21 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin