Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/responsive-grid-quick-view-posts/grid-quick-view.php+12
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.96MB] [CPU: ▼50.74ms] Passed 4 tests
This is a short check of server-side resources used by Responsive Grid Quick View Posts for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.34 ▼36.23 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.48 ▼44.43 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.88 ▼41.89 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.19 ▼80.41 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.63 ▼25.87 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_smartcms_grid_quick_view |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Grid Quick View Posts for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.16 ▼1.15 | 4.85 ▲2.85 | 43.44 ▲0.80 |
Dashboard /wp-admin | 2,219 ▲31 | 5.78 ▼0.06 | 94.56 ▼21.04 | 41.99 ▲0.17 |
Posts /wp-admin/edit.php | 2,105 ▲19 | 1.99 ▼0.02 | 43.77 ▲8.07 | 47.91 ▲12.71 |
Add New Post /wp-admin/post-new.php | 1,546 ▲29 | 23.00 ▲5.42 | 647.65 ▲43.48 | 53.53 ▲3.76 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.23 ▼0.04 | 95.46 ▼0.83 | 40.18 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/responsive-grid-quick-view-posts/grid-quick-view.php+12
Constant WP_DEBUG already defined
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_smartcms_grid_quick_view
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/responsive-grid-quick-view-posts/js/script.js.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: column in wp-content/plugins/responsive-grid-quick-view-posts/js/script.js.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/responsive-grid-quick-view-posts/grid-quick-view.php:11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Contributors: The plugin contributors field is not present
- Screenshots: A description for screenshot #0 is required in responsive-grid-quick-view-posts/assets to your readme.txt
responsive-grid-quick-view-posts/grid-quick-view.php 92% from 13 tests
The primary PHP file in "Responsive Grid Quick View Posts for WordPress" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("responsive-grid-quick-view-posts.php" instead of "grid-quick-view.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,360 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 197 | 78 | 830 |
PHP | 2 | 21 | 13 | 383 |
CSS | 2 | 5 | 16 | 147 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin