Benchmarks
Plugin footprint 82% 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.01MB] [CPU: ▼1.93ms] Passed 4 tests
An overview of server-side resources used by Advanced Custom Fields Viewer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 30.13 ▼9.72 |
Dashboard /wp-admin | 3.34 ▲0.04 | 54.22 ▲2.80 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 55.09 ▲2.99 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 98.17 ▼0.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 38.66 ▼0.47 |
ACF Viewer /wp-admin/options-general.php?page=advanced-custom-fields-viewer/admin/options.php | 3.23 | 32.84 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/advanced-custom-fields-viewer/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Advanced Custom Fields Viewer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲106 | 13.56 ▼0.75 | 4.37 ▲2.57 | 42.22 ▲0.30 |
Dashboard /wp-admin | 2,222 ▲22 | 5.77 ▼0.08 | 103.23 ▼2.81 | 40.25 ▼4.15 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▼0.02 | 41.72 ▲1.21 | 35.24 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,529 ▼26 | 17.51 ▼0.82 | 638.95 ▲31.48 | 48.28 ▼6.98 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▼0.00 | 96.07 ▼5.54 | 43.64 ▲1.30 |
ACF Viewer /wp-admin/options-general.php?page=advanced-custom-fields-viewer/admin/options.php | 916 | 2.16 | 24.92 | 31.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-custom-fields-viewer/admin/options.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-custom-fields-viewer/viewer.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-custom-fields-viewer/admin/general.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Tags: There are too many tags (19 tag instead of maximum 10)
advanced-custom-fields-viewer/acfv.php 92% from 13 tests
This is the main PHP file of "Advanced Custom Fields Viewer" version 1.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("advanced-custom-fields-viewer.php" instead of "acfv.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
Good job! No executable or dangerous file extensions detected885 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 93 | 15 | 582 |
PHP | 5 | 31 | 12 | 212 |
JavaScript | 1 | 7 | 6 | 62 |
JSON | 1 | 0 | 0 | 19 |
Markdown | 1 | 7 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG images were not found in this plugin