Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.76ms] Passed 4 tests
Analyzing server-side resources used by Testimonial Slider block using ACF
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.15 ▲4.27 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.45 ▼4.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.71 ▼3.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.64 ▼20.71 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.37 ▲1.58 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial Slider block using ACF
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲174 | 13.57 ▼0.81 | 6.62 ▲4.77 | 43.78 ▲2.53 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲1.01 | 101.10 ▼8.52 | 39.51 ▼1.73 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.02 | 41.03 ▲1.59 | 38.98 ▲4.51 |
Add New Post /wp-admin/post-new.php | 1,514 ▼7 | 17.84 ▼5.45 | 648.49 ▲25.61 | 62.83 ▲8.44 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.23 ▲0.05 | 98.50 ▼2.92 | 42.56 ▲0.18 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/acf-add-testimonials-blocks/acftb-testimonials-blocks.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-add-testimonials-blocks/includes/acftb-block-register.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function have_rows() in wp-content/plugins/acf-add-testimonials-blocks/acftb-create-block/acftb_cstm_testimonial.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #2, #4 in acf-add-testimonials-blocks/assets to your readme.txt
- Donate link: Invalid URI ("")
acf-add-testimonials-blocks/acftb-testimonials-blocks.php 92% from 13 tests
The main file in "Testimonial Slider block using ACF" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("acf-add-testimonials-blocks.php" instead of "acftb-testimonials-blocks.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin14,872 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,624 | 28 | 11,498 |
JavaScript | 2 | 851 | 320 | 3,256 |
PHP | 3 | 17 | 31 | 86 |
Markdown | 1 | 16 | 0 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin