Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼8.84ms] Passed 4 tests
An overview of server-side resources used by XTCZ Top Box Office
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.24 ▼10.35 |
Dashboard /wp-admin | 3.44 ▲0.09 | 49.98 ▼27.86 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 55.15 ▼0.55 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 99.45 ▲3.39 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 42.75 ▲7.31 |
XTCZ Box Office /wp-admin/options-general.php?page=xtcz-top-box-office/xtcz-top-boxoffic-movies.php | 3.33 | 33.90 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_xtcz_boxoffice_widgets |
theysaidso_admin_options |
widget_xtcz_bollywood_boxoffice_widgets |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for XTCZ Top Box Office
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.24 ▼0.12 | 1.75 ▲0.01 | 43.10 ▲0.53 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.12 | 91.37 ▼3.50 | 37.98 ▼2.24 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▲0.05 | 41.45 ▲5.51 | 37.08 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.21 ▲0.10 | 676.39 ▼22.33 | 55.40 ▲0.77 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.19 ▼0.01 | 112.51 ▲3.07 | 46.84 ▼3.14 |
XTCZ Box Office /wp-admin/options-general.php?page=xtcz-top-box-office/xtcz-top-boxoffic-movies.php | 981 | 1.69 | 26.98 | 29.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_xtcz_bollywood_boxoffice_widgets
- widget_xtcz_boxoffice_widgets
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Please fix the following
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xtcz-top-box-office/xtcz-widgets.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/xtcz-top-box-office/xtcz-shortcode.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/xtcz-top-box-office/xtcz-bollywood-shortcode.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xtcz-top-box-office/xtcz-widgets-bollywood.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xtcz-top-box-office/xtcz-top-boxoffic-movies.php:251
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
xtcz-top-box-office/xtcz-top-boxoffic-movies.php 85% from 13 tests
This is the main PHP file of "XTCZ Top Box Office" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 272 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("xtcz-top-box-office.php" instead of "xtcz-top-boxoffic-movies.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected673 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 185 | 40 | 626 |
JavaScript | 1 | 4 | 0 | 24 |
CSS | 1 | 1 | 0 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 17.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 18 | |
▷ Named functions | 12 | 66.67% |
▷ Anonymous functions | 6 | 33.33% |
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