Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.77ms] Passed 4 tests
Server-side resources used by Pods AJAX Views
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.66 ▼7.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.09 ▼8.86 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.92 ▼4.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 96.78 ▲1.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.19 ▲2.64 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
pods_ajax_views_version |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Pods AJAX Views
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.71 ▲0.12 | 1.85 ▼0.25 | 43.80 ▼0.85 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.11 | 84.69 ▼11.07 | 39.59 ▼4.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.00 | 36.67 ▲1.21 | 34.42 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,550 ▲1 | 23.10 ▼0.30 | 657.06 ▼29.74 | 49.91 ▼8.56 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.02 | 99.79 ▼2.35 | 42.66 ▼4.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- pods_ajax_views_version
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 2× 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/pods-ajax-views/pods-ajax-views.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/pods-ajax-views/ui/view-stats.php:2
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: pods, ajax
pods-ajax-views/pods-ajax-views.php Passed 13 tests
The main file in "Pods AJAX Views" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
80 characters long description:
An easy way to generate cached views from AJAX when they haven't been cached yet
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,371 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 362 | 465 | 1,250 |
JavaScript | 1 | 45 | 47 | 121 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 72.33 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 7.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 33 | |
▷ Static methods | 33 | 100.00% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin