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.03MB] [CPU: ▼5.03ms] Passed 4 tests
An overview of server-side resources used by Max Stats Table for WP Pro Quiz
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.07 ▼0.47 |
Dashboard /wp-admin | 3.34 ▼0.00 | 55.81 ▼10.97 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.07 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.56 ▼7.90 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 39.33 ▲2.08 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Max Stats Table for WP Pro Quiz
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.35 ▼0.01 | 3.03 ▲1.42 | 46.11 ▲0.80 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▲0.01 | 92.18 ▲1.58 | 39.24 ▼3.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.00 | 34.66 ▼5.75 | 35.10 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 22.90 ▼0.06 | 677.32 ▲13.83 | 49.48 ▼6.38 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.11 ▲0.01 | 112.47 ▼3.42 | 45.99 ▼3.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/max-stats-table-for-wp-pro-quiz/wppq_max_stats.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #11, #12, #13, #14 in max-stats-table-for-wp-pro-quiz/assets to your readme.txt
- Screenshots: These screenshots have no corresponding images in /assets: #3 (Success notification after statistics are cleared.), #4 (Copy-Paste data for use in spreadsheets.)
max-stats-table-for-wp-pro-quiz/wppq_max_stats.php 85% from 13 tests
The main PHP script in "Max Stats Table for WP Pro Quiz" version 3.2.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("max-stats-table-for-wp-pro-quiz.php" instead of "wppq_max_stats.php")
- Description: The description should be shorter than 140 characters (currently 297 characters long)
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
No dangerous file extensions were detected328 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 67 | 73 | 185 |
CSS | 1 | 17 | 0 | 111 |
JavaScript | 1 | 3 | 0 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin