Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.73ms] Passed 4 tests
A check of server-side resources used by ACF RRule Field
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.90 ▲4.67 |
Dashboard /wp-admin | 3.36 ▲0.02 | 43.85 ▼30.04 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 43.73 ▼3.38 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.79 ▼5.32 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.82 ▲3.83 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 200 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for ACF RRule Field
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲28 | 14.21 ▼0.13 | 2.18 ▲0.03 | 43.85 ▲5.62 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.06 | 90.67 ▼5.59 | 41.92 ▼4.17 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.96 ▲0.01 | 39.87 ▼0.96 | 36.79 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.09 ▲0.05 | 611.13 ▼25.68 | 64.11 ▲0.88 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.19 ▼0.08 | 94.98 ▲0.04 | 39.94 ▼1.85 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
- 111× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Doctrine\\Common\\Collections\\Expr\\Expression' not found in wp-content/plugins/acf-rrule-field/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Expr/CompositeExpression.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Doctrine\\Common\\Collections\\ReadableCollection' not found in wp-content/plugins/acf-rrule-field/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php:30
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/acf-rrule-field/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #2 in acf-rrule-field/assets to your readme.txt
acf-rrule-field/acf-rrule.php 92% from 13 tests
The principal PHP file in "ACF RRule Field" v. 1.3.4 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("acf-rrule-field.php" instead of "acf-rrule.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
These items require your attention
- Do not distribute dangerous files with your plugin
- .ps1 - Windows PowerShell Cmdlet in Windows
- ☣ wp-content/plugins/acf-rrule-field/vendor/simshaun/recurr/test.ps1
- .ps1 - Windows PowerShell Cmdlet in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 162 | 1,798 | 3,439 | 7,865 |
JSON | 7 | 0 | 0 | 669 |
Markdown | 5 | 133 | 0 | 305 |
reStructuredText | 6 | 224 | 241 | 203 |
PO File | 1 | 74 | 80 | 169 |
YAML | 3 | 30 | 0 | 111 |
CSS | 1 | 23 | 0 | 90 |
JavaScript | 1 | 36 | 34 | 65 |
PowerShell | 1 | 1 | 3 | 8 |
Bourne Shell | 1 | 2 | 2 | 7 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 152)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 152.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 135 | |
▷ Abstract classes | 4 | 2.96% |
▷ Concrete classes | 131 | 97.04% |
▷ Final classes | 0 | 0.00% |
Methods | 451 | |
▷ Static methods | 59 | 13.08% |
▷ Public methods | 379 | 84.04% |
▷ Protected methods | 57 | 12.64% |
▷ Private methods | 15 | 3.33% |
Functions | 72 | |
▷ Named functions | 1 | 1.39% |
▷ Anonymous functions | 71 | 98.61% |
Constants | 36 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 36 | 100.00% |
▷ Public constants | 32 | 88.89% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin