Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼11.46ms] Passed 4 tests
Analyzing server-side resources used by Calculated fields for ACF
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.98 ▼6.29 |
Dashboard /wp-admin | 3.38 ▲0.04 | 44.59 ▼16.61 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 53.00 ▲2.83 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.57 ▼25.75 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.23 ▲2.81 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Calculated fields for ACF
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.71 ▲0.16 | 1.75 ▲0.19 | 35.92 ▼2.99 |
Dashboard /wp-admin | 2,197 ▲17 | 5.56 ▼0.12 | 92.69 ▲7.97 | 42.50 ▼0.93 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 1.98 ▼0.04 | 40.02 ▲3.39 | 35.23 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,530 ▼4 | 23.29 ▲5.14 | 667.54 ▲18.71 | 49.05 ▼15.77 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.18 ▼0.13 | 91.64 ▼8.32 | 41.68 ▼5.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in calculated-fields-for-acf/assets to your readme.txt
calculated-fields-for-acf/calculated-fields-for-acf.php Passed 13 tests
The primary PHP file in "Calculated fields for ACF" version 1.3.2 is used by WordPress to initiate all plugin functionality
44 characters long description:
Simple field math for Advanced Custom Fields
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
No dangerous file extensions were detected1,748 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 268 | 725 | 1,655 |
JavaScript | 1 | 12 | 0 | 88 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 44.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 6.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 18 | 25.35% |
▷ Public methods | 57 | 80.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 19.72% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
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
There are no PNG files in this plugin