Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.91MB] [CPU: ▲0.76ms] Passed 4 tests
Server-side resources used by Revision Manager TMC
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.89 | 47.33 ▲5.52 |
Dashboard /wp-admin | 4.28 ▲0.98 | 59.83 ▲5.21 |
Posts /wp-admin/edit.php | 4.31 ▲0.95 | 53.54 ▼8.38 |
Add New Post /wp-admin/post-new.php | 6.78 ▲0.90 | 98.67 ▲0.71 |
Media Library /wp-admin/upload.php | 4.11 ▲0.89 | 45.05 ▲8.12 |
Revision Manager TMC /wp-admin/options-general.php?page=rm_tmc_settings | 4.10 | 36.73 |
Server storage [IO: ▲4.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 173 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
rm_tmc_listOfPostsToNotify |
rm_tmc |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Revision Manager TMC
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲121 | 13.11 ▼1.27 | 4.68 ▲2.91 | 43.41 ▼5.20 |
Dashboard /wp-admin | 2,265 ▲77 | 4.89 ▼0.92 | 102.14 ▼8.55 | 41.10 ▼3.03 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.00 ▼0.04 | 38.22 ▲0.08 | 33.13 ▼4.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.21 ▲4.63 | 641.55 ▲27.89 | 53.50 ▼8.85 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.23 ▲0.05 | 104.09 ▼5.63 | 43.94 ▼2.48 |
Revision Manager TMC /wp-admin/options-general.php?page=rm_tmc_settings | 1,955 | 6.60 | 150.79 | 77.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- widget_recent-comments
- rm_tmc_listOfPostsToNotify
- theysaidso_admin_options
- rm_tmc
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/revision-manager-tmc/revision-manager-tmc.php
- 57× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'shellpress\\v1_4_0\\src\\Shared\\Components\\IUniversalFrontComponent' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/demo/src/Components/UniversalFrontExample.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Exception' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/lib/Mustache/Exception/SyntaxException.php:15
- > PHP Fatal error
Uncaught Error: Class 'shellpress\\v1_4_0\\src\\Shared\\Components\\IComponent' not found in wp-content/plugins/revision-manager-tmc/src/Components/JetPlugs.php:15
- > PHP Fatal error
Uncaught Error: Class 'Mustache_Cache_AbstractCache' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/lib/Mustache/Cache/FilesystemCache.php:22
- > PHP Fatal error
Uncaught Error: Class 'shellpress\\v1_4_0\\src\\Shared\\Components\\IComponent' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/src/Components/External/EventHandler.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/lib/Mustache/Loader/StringLoader.php:26
- > PHP Fatal error
Uncaught Error: Class 'shellpress\\v1_4_0\\src\\Shared\\Components\\IComponent' not found in wp-content/plugins/revision-manager-tmc/src/Components/Settings.php:13
- > PHP Fatal error
Uncaught Error: Class 'shellpress\\v1_4_0\\src\\Shared\\Components\\IComponent' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/src/Components/External/OptionsHandler.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Exception' not found in wp-content/plugins/revision-manager-tmc/vendor/tmc/shellpress/lib/Mustache/Exception/RuntimeException.php:15
- > PHP Fatal error
Uncaught Error: Class 'shellpress\\v1_4_0\\src\\Shared\\Components\\IComponent' not found in wp-content/plugins/revision-manager-tmc/src/Components/Notifications.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Screenshots: A description for screenshot #14 is missing in revision-manager-tmc/assets to your readme.txt
- Tags: You are using too many tags: 18 tag instead of maximum 10
revision-manager-tmc/revision-manager-tmc.php 85% from 13 tests
The main PHP file in "Revision Manager TMC" ver. 2.8.18 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected24,608 lines of code in 157 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 16,128 |
PHP | 100 | 3,114 | 5,936 | 6,550 |
Vuejs Component | 15 | 180 | 2 | 1,051 |
Sass | 10 | 220 | 47 | 437 |
JavaScript | 8 | 208 | 171 | 299 |
TypeScript | 4 | 31 | 2 | 81 |
HTML | 6 | 12 | 0 | 36 |
CSS | 7 | 1 | 0 | 20 |
Markdown | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 8 | |
Traits | 2 | |
Classes | 80 | |
▷ Abstract classes | 14 | 17.50% |
▷ Concrete classes | 66 | 82.50% |
▷ Final classes | 0 | 0.00% |
Methods | 619 | |
▷ Static methods | 32 | 5.17% |
▷ Public methods | 490 | 79.16% |
▷ Protected methods | 70 | 11.31% |
▷ Private methods | 59 | 9.53% |
Functions | 17 | |
▷ Named functions | 4 | 23.53% |
▷ Anonymous functions | 13 | 76.47% |
Constants | 83 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 83 | 100.00% |
▷ Public constants | 83 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/tick.png | 0.41KB | 0.39KB | ▼ 5.48% |
assets/img/padlock.png | 0.90KB | 0.65KB | ▼ 27.52% |