Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲4.65MB] [CPU: ▲25.98ms] Passed 4 tests
Analyzing server-side resources used by ACF Views Lite - Smart Templates to Display your Content Easily
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.97 ▲4.51 | 74.44 ▲30.55 |
Dashboard /wp-admin | 8.02 ▲4.67 | 77.32 ▲15.13 |
Posts /wp-admin/edit.php | 8.07 ▲4.71 | 84.49 ▲34.99 |
Add New Post /wp-admin/post-new.php | 10.74 ▲4.85 | 121.07 ▲23.26 |
Media Library /wp-admin/upload.php | 7.94 ▲4.71 | 75.34 ▲41.67 |
Cards /wp-admin/edit.php?post_type=acf_cards | 8.00 | 71.16 |
Views /wp-admin/edit.php?post_type=acf_views | 8.00 | 68.19 |
Server storage [IO: ▲3.87MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 533 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
acf_views_settings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by ACF Views Lite - Smart Templates to Display your Content Easily
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲71 | 14.67 ▲0.43 | 1.56 ▼0.13 | 37.68 ▼5.28 |
Dashboard /wp-admin | 2,234 ▲54 | 5.62 ▼0.01 | 96.56 ▼1.04 | 44.03 ▼0.47 |
Posts /wp-admin/edit.php | 2,139 ▲42 | 1.97 ▼0.03 | 39.51 ▼0.62 | 36.66 ▲3.48 |
Add New Post /wp-admin/post-new.php | 1,561 ▲34 | 23.06 ▲0.13 | 597.78 ▼1.23 | 61.65 ▲9.19 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.21 ▲0.04 | 99.45 ▲2.55 | 41.97 ▲0.37 |
Cards /wp-admin/edit.php?post_type=acf_cards | 1,192 | 2.06 | 37.70 | 36.92 |
Views /wp-admin/edit.php?post_type=acf_views | 1,198 | 2.08 | 34.23 | 33.09 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- acf_views_settings
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 180× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\\Profiler\\Dumper\\BaseDumper' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Profiler/Dumper/TextDumper.php:17
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\ode\ode' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/CheckSecurityNode.php:17
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\\Error\\Error' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Error/SyntaxError.php:19
- > PHP Fatal error
Uncaught Error: Interface 'org\\wplake\\acf_views\\vendors\\Twig\odeVisitor\odeVisitorInterface' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php:22
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/Expression/Binary/GreaterBinary.php:14
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/TokenParser/ApplyTokenParser.php:27
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/Expression/GetAttrExpression.php:17
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php:15
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\ode\ode' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/IfNode.php:20
- > PHP Fatal error
Uncaught Error: Interface 'org\\wplake\\acf_views\\vendors\\LightSource\\AcfGroups\\Interfaces\\FieldsInfoInterface' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/lightsource/acf-groups/src/Interfaces/GroupInfoInterface.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
acf-views/acf-views.php Passed 13 tests
The main file in "ACF Views Lite - Smart Templates to Display your Content Easily" v. 2.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
47 characters long description:
Smart templates to display your content easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin36,973 lines of code in 465 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 405 | 4,713 | 10,197 | 34,782 |
PO File | 24 | 143 | 146 | 833 |
JSON | 9 | 8 | 0 | 605 |
Markdown | 4 | 150 | 0 | 506 |
JavaScript | 15 | 19 | 6 | 176 |
CSS | 7 | 14 | 1 | 61 |
reStructuredText | 1 | 8 | 5 | 10 |
PHP code Passed 2 tests
An short overview of 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.41 |
Average class complexity | 11.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 49 | |
Interfaces | 20 | |
Traits | 1 | |
Classes | 354 | |
▷ Abstract classes | 31 | 8.76% |
▷ Concrete classes | 323 | 91.24% |
▷ Final classes | 57 | 17.65% |
Methods | 2,259 | |
▷ Static methods | 150 | 6.64% |
▷ Public methods | 1,688 | 74.72% |
▷ Protected methods | 483 | 21.38% |
▷ Private methods | 88 | 3.90% |
Functions | 250 | |
▷ Named functions | 173 | 69.20% |
▷ Anonymous functions | 77 | 30.80% |
Constants | 249 | |
▷ Global constants | 6 | 2.41% |
▷ Class constants | 243 | 97.59% |
▷ Public constants | 242 | 99.59% |
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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Assets/pro.png | 16.69KB | 8.53KB | ▼ 48.91% |