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.14MB] [CPU: ▼4.53ms] Passed 4 tests
This is a short check of server-side resources used by Object Cache 4 everyone
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 34.67 ▼7.11 |
Dashboard /wp-admin | 3.49 ▲0.18 | 949.91 ▲899.44 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 45.89 ▼8.11 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 88.80 ▲0.51 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 31.61 ▼3.43 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- There were 90 files (81.22KB) illegally modified outside of "wp-content/plugins/object-cache-4-everyone/" and "wp-content/uploads/"
- (new file) wp-content/cache/object/06fdfa7d/8c8bafc5/d29cddcf/244eb56c/.object
- (new file) wp-content/cache/object/03998b16/d018e75b/309d1406/6c6bb16f/.object
- (new file) wp-content/cache/object/03130ba1/343ce856/27f1203d/d5fb6f8f/.object
- (new file) wp-content/cache/object/0c164f06/796fffbb/e6d29253/0be67c00/.object
- (new file) wp-content/cache/object/069a4cff/ddcbc275/4198e59a/04c27189/.object
- (new file) wp-content/cache/object/11e547ed/e595bfc0/9a9710d6/8d2023c7/.object
- (new file) wp-content/cache/object/01947fab/f509f614/c8f09fd7/20dbf172/.object
- (new file) wp-content/cache/object/05651e8e/561faa40/d17388b5/6abe928f/.object
- (new file) wp-content/cache/object/04e820e0/22018570/8e8ceecd/ff8fcfb5/.object
- (new file) wp-content/cache/object/0eb1bf47/194a58e4/e7b0ae21/abc85d32/.object
- ...
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Object Cache 4 everyone
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,752 ▼10 | 14.71 ▲0.56 | 1.74 ▲0.10 | 39.59 ▼6.75 |
Dashboard /wp-admin | 2,160 ▼18 | 5.65 ▼0.01 | 102.13 ▲2.82 | 36.98 ▼5.11 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▲0.01 | 38.05 ▼3.45 | 31.87 ▼4.99 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.24 ▲0.11 | 669.00 ▼5.97 | 77.76 ▲13.41 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.16 ▼0.04 | 102.65 ▼4.94 | 43.08 ▼1.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/object-cache-4-everyone/oc4-deactivation.php+20
unlink(wp-content/object-cache.php): No such file or directory
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: object cache, wpo, memcached, cache
object-cache-4-everyone/object-cache-4-everyone.php 92% from 13 tests
The main file in "Object Cache 4 everyone" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 182 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,845 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 426 | 1,411 | 1,525 |
Markdown | 1 | 80 | 0 | 320 |
PHP code Passed 2 tests
Analyzing 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.45 |
Average class complexity | 69.33 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.17% |
Functions | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin