Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼4.97ms] Passed 4 tests
This is a short check of server-side resources used by Rundizable WP Features
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.27 | 40.50 ▲1.97 |
Dashboard /wp-admin | 3.64 ▲0.33 | 46.19 ▲0.21 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 43.79 ▼4.83 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 82.80 ▼9.76 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 28.10 ▼5.51 |
Rundizable WP Features /wp-admin/options-general.php?page=rundizable-wp-features-settings | 3.48 | 31.87 |
Server storage [IO: ▲2.96MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
rundizable_wp_features_optname |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Rundizable WP Features
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,752 ▲17 | 13.24 ▼1.04 | 1.78 ▲0.13 | 40.26 ▼14.28 |
Dashboard /wp-admin | 2,161 ▼31 | 5.83 ▲0.91 | 99.20 ▼8.41 | 38.83 ▼8.39 |
Posts /wp-admin/edit.php | 2,038 ▼54 | 1.98 ▼0.03 | 34.22 ▼9.31 | 33.28 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,502 ▼40 | 18.14 ▼0.19 | 599.44 ▼42.73 | 51.43 ▼15.02 |
Media Library /wp-admin/upload.php | 2,161 ▲773 | 5.72 ▲1.46 | 81.51 ▼24.86 | 36.88 ▼5.50 |
Rundizable WP Features /wp-admin/options-general.php?page=rundizable-wp-features-settings | 933 | 2.08 | 27.05 | 41.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function RundizableWpFeatures\\App\\add_action() in wp-content/plugins/rundizable-wp-features/App/App.php:38
- > PHP Fatal error
Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Admin/Activation.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rundizable-wp-features/App/config/settings_rdawpf.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rundizable-wp-features/App/Views/admin/settings_v.php:2
- > PHP Fatal error
Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Admin/Settings.php:12
- > PHP Fatal error
Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Hooks/DisableMedia.php:10
- > PHP Fatal error
Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Hooks/DisableFrontEnd.php:10
- > PHP Fatal error
Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Hooks/DisablePages.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: front-end, media, pages, disable features
rundizable-wp-features/rundizable-wp-features.php Passed 13 tests
The entry point to "Rundizable WP Features" version 0.2.5 is a PHP file that has certain tags in its header comment area
27 characters long description:
Disable WordPress features.
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
Success! There were no dangerous files found in this plugin13,066 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 3,264 | 64 | 7,361 |
SVG | 3 | 0 | 0 | 4,269 |
PHP | 16 | 312 | 486 | 1,331 |
PO File | 1 | 24 | 34 | 75 |
JavaScript | 1 | 7 | 15 | 30 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 34.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 220.00 |
Average method complexity | 7.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 2 | 3.45% |
▷ Public methods | 46 | 79.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 20.69% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin