Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.84ms] Passed 4 tests
Server-side resources used by Companion Revision Manager - Revision Control
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 47.90 ▲7.93 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.05 ▲2.35 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.77 ▼3.25 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.30 ▼4.34 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.00 ▲1.89 |
Revisions /wp-admin/tools.php?page=crm-settings | 3.24 | 34.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_revision_control |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
crm_db_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Companion Revision Manager - Revision Control
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲58 | 14.34 ▼0.27 | 1.72 ▼0.11 | 42.98 ▲0.74 |
Dashboard /wp-admin | 2,199 ▲29 | 5.63 ▼0.07 | 85.84 ▼13.56 | 35.48 ▼6.37 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 39.68 ▲3.59 | 42.68 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.20 ▲0.15 | 690.88 ▼56.17 | 53.29 ▼20.93 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.17 ▼0.04 | 106.56 ▲0.26 | 44.50 ▼5.50 |
Revisions /wp-admin/tools.php?page=crm-settings | 833 | 2.02 | 27.89 | 23.84 |
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 uninstall procedure failed, leaving 1 table in the database
- wp_revision_control
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- crm_db_version
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/companion-revision-manager/companion-revision-manger.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
companion-revision-manager/companion-revision-manger.php 92% from 13 tests
The primary PHP file in "Companion Revision Manager - Revision Control" version 1.6.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("companion-revision-manager.php" instead of "companion-revision-manger.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin219 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 100 | 57 | 219 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin