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.13MB] [CPU: ▼3.92ms] Passed 4 tests
An overview of server-side resources used by Pods Alternative Cache
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 40.95 ▲5.34 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.40 ▼10.74 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.64 ▲3.57 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.12 | 81.30 ▼13.83 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 34.63 ▲5.92 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Pods Alternative Cache
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.10 ▼0.25 | 1.68 ▲0.13 | 43.21 ▲0.17 |
Dashboard /wp-admin | 2,198 ▲18 | 5.56 ▼0.08 | 89.12 ▼10.92 | 38.67 ▼4.97 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.01 | 39.90 ▼5.01 | 34.73 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.03 ▼0.08 | 671.54 ▲47.62 | 52.12 ▲2.86 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.16 ▼0.06 | 93.67 ▼9.53 | 41.77 ▼0.88 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Pods_Alternative_Cache_Storage' not found in wp-content/plugins/pods-alternative-cache/classes/Pods/Alternative/Cache/DB.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pods-alternative-cache/pods-alternative-cache.php:12
- > PHP Fatal error
Uncaught Error: Class 'Pods_Alternative_Cache_Storage' not found in wp-content/plugins/pods-alternative-cache/classes/Pods/Alternative/Cache/File.php:6
- > PHP Fatal error
Uncaught Error: Class 'Pods_Alternative_Cache_Storage' not found in wp-content/plugins/pods-alternative-cache/classes/Pods/Alternative/Cache/Memcached.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: cache, pods, wpengine
pods-alternative-cache/pods-alternative-cache.php 92% from 13 tests
The main PHP script in "Pods Alternative Cache" version 2.1.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Git Repository: A Git repository was detected inside this plugin
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
There were no executable files found in this plugin874 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 329 | 376 | 874 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 23.60 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin