Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.96ms] Passed 4 tests
An overview of server-side resources used by ACF Timber Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 39.88 ▲0.64 |
Dashboard /wp-admin | 3.39 ▲0.05 | 50.40 ▼6.22 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.26 ▲3.62 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 95.50 ▼6.57 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 35.46 ▲0.32 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
ACF Timber Integration: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.29 ▼1.10 | 1.69 ▼0.10 | 42.67 ▲2.49 |
Dashboard /wp-admin | 2,209 ▲24 | 4.84 ▼1.06 | 102.26 ▼2.11 | 38.00 ▼3.92 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▲0.03 | 36.50 ▼0.90 | 35.47 ▲5.42 |
Add New Post /wp-admin/post-new.php | 1,534 ▲12 | 23.24 ▼0.28 | 609.17 ▼48.33 | 49.13 ▼2.28 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.05 | 95.33 ▼3.02 | 40.31 ▼4.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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 | 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-timber-integration/acf-timber-integration.php:678
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: acf, timber, twig, advanced custom fields, integration
acf-timber-integration/acf-timber-integration.php Passed 13 tests
Analyzing the main PHP file in "ACF Timber Integration" version 1.4.0
98 characters long description:
Automatically enables in the Timber twig context variable all user-defined advanced custom fields.
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 detected452 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 119 | 239 | 452 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 34.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 64.00% |
▷ Protected methods | 5 | 20.00% |
▷ Private methods | 4 | 16.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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 were not PNG files found in your plugin