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.69MB] [CPU: ▲33.43ms] 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 / | 8.00 ▲4.54 | 76.94 ▲36.76 |
Dashboard /wp-admin | 8.05 ▲4.74 | 86.70 ▲34.53 |
Posts /wp-admin/edit.php | 8.10 ▲4.74 | 75.08 ▲30.41 |
Add New Post /wp-admin/post-new.php | 10.77 ▲4.88 | 133.46 ▲32.03 |
Media Library /wp-admin/upload.php | 7.97 ▲4.74 | 69.62 ▲37.45 |
Cards /wp-admin/edit.php?post_type=acf_cards | 8.03 | 67.18 |
Views /wp-admin/edit.php?post_type=acf_views | 8.03 | 61.66 |
Server storage [IO: ▲3.93MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 543 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
acf_views_settings |
can_compress_scripts |
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.28 ▼0.08 | 2.17 ▲0.52 | 42.51 ▲5.33 |
Dashboard /wp-admin | 2,234 ▲54 | 5.52 ▼0.14 | 86.10 ▼17.59 | 40.48 ▼12.92 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.99 ▲0.00 | 34.01 ▼6.55 | 31.53 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,561 ▲32 | 21.00 ▼2.21 | 677.56 ▲86.11 | 59.72 ▼0.16 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.26 ▲0.06 | 98.91 ▲0.28 | 41.70 ▼2.13 |
Cards /wp-admin/edit.php?post_type=acf_cards | 1,189 | 2.06 | 35.49 | 38.17 |
Views /wp-admin/edit.php?post_type=acf_views | 1,198 | 2.05 | 33.17 | 32.92 |
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_recent-comments
- db_upgraded
- acf_views_settings
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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\ode\ode' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/WithNode.php:19
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\ode\\Expression\\Unary\\AbstractUnary' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Node/Expression/Unary/PosUnary.php:15
- > 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/RuntimeError.php:19
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Extension/SandboxExtension.php:19
- > PHP Fatal error
Uncaught Error: Interface 'org\\wplake\\acf_views\\vendors\\Twig\\Loader\\LoaderInterface' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Loader/FilesystemLoader.php:20
- > 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/HasEveryBinary.php:14
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\Twig\\Sandbox\\SecurityError' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Sandbox/SecurityNotAllowedMethodError.php:18
- > 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/AndBinary.php:15
- > PHP Fatal error
Uncaught Error: Class 'org\\wplake\\acf_views\\vendors\\PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/acf-views/prefixed_vendors/vendor/twig/twig/src/Test/IntegrationTestCase.php:28
- > 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/ForLoopNode.php:19
- > 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.2 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 plugin37,280 lines of code in 471 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 409 | 4,781 | 10,219 | 35,075 |
PO File | 24 | 143 | 146 | 833 |
JSON | 9 | 8 | 0 | 605 |
Markdown | 4 | 150 | 0 | 506 |
JavaScript | 17 | 21 | 6 | 190 |
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.59 |
▷ 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 | 52 | |
Interfaces | 20 | |
Traits | 1 | |
Classes | 358 | |
▷ Abstract classes | 31 | 8.66% |
▷ Concrete classes | 327 | 91.34% |
▷ Final classes | 57 | 17.43% |
Methods | 2,266 | |
▷ Static methods | 150 | 6.62% |
▷ Public methods | 1,691 | 74.62% |
▷ Protected methods | 487 | 21.49% |
▷ Private methods | 88 | 3.88% |
Functions | 252 | |
▷ Named functions | 173 | 68.65% |
▷ Anonymous functions | 79 | 31.35% |
Constants | 253 | |
▷ Global constants | 6 | 2.37% |
▷ Class constants | 247 | 97.63% |
▷ Public constants | 246 | 99.60% |
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% |