Benchmarks
Plugin footprint 82% 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.19MB] [CPU: ▼21.05ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Page Transitions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▼0.50 | 18.75 ▼22.46 |
Dashboard /wp-admin | 3.32 ▲0.02 | 33.67 ▼18.28 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 36.09 ▼12.48 |
Add New Post /wp-admin/post-new.php | 5.56 ▼0.32 | 71.74 ▼30.96 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 29.87 ▼5.41 |
Software /wp-admin/admin.php?page=wpt_software_page | 3.32 | 33.49 |
Notifications /wp-admin/admin.php?page=wpt_queue_page | 3.30 | 30.98 |
Transition files /wp-admin/admin.php?page=wpt_trans_files_page | 3.33 | 28.57 |
Settings /wp-admin/admin.php?page=wpt_settings_page | 3.30 | 28.74 |
Server storage [IO: ▲1.70MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- You have illegally modified 3 files (3.21KB) outside of "wp-content/plugins/page-transitions/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/wpt-wrapper.php
- (new file) wp-content/themes/twentytwentyone/wpt-generic.js
- (new file) wp-content/ah_assets/.empty
Filesystem: 46 new files
Database: no new tables, 11 new options
New WordPress options |
---|
wpt_used_transitions |
wpt_page_h |
wpt_page_w |
can_compress_scripts |
theysaidso_admin_options |
wpt_pass |
wpt_quality |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Page Transitions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,351 ▲616 | 14.69 ▲0.41 | 17.26 ▲15.43 | 43.36 ▲5.58 |
Dashboard /wp-admin | 2,242 ▲54 | 5.88 ▲0.97 | 101.98 ▼12.63 | 41.84 ▼2.49 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.01 ▲0.02 | 36.56 ▼4.57 | 33.61 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.05 ▼0.62 | 659.93 ▲34.71 | 54.58 ▲1.46 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.22 ▲0.01 | 95.94 ▲0.67 | 42.56 ▲0.25 |
Software /wp-admin/admin.php?page=wpt_software_page | 840 | 2.02 | 27.09 | 25.35 |
Notifications /wp-admin/admin.php?page=wpt_queue_page | 790 | 2.06 | 24.22 | 26.81 |
Transition files /wp-admin/admin.php?page=wpt_trans_files_page | 1,099 | 2.07 | 25.10 | 34.76 |
Settings /wp-admin/admin.php?page=wpt_settings_page | 1,182 | 1.83 | 36.21 | 31.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 11 options in the database
- db_upgraded
- theysaidso_admin_options
- wpt_used_transitions
- can_compress_scripts
- wpt_page_w
- widget_recent-posts
- wpt_pass
- wpt_page_h
- widget_recent-comments
- widget_theysaidso_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpt_queue_page
- > Notice in wp-content/plugins/page-transitions/main.php+285
Undefined index: wpt_ignore
- > GET request to /wp-admin/admin.php?page=wpt_trans_files_page
- > Notice in wp-content/plugins/page-transitions/templates/trans-files.php+34
Undefined index: wpt_cat
- > GET request to /wp-admin/admin.php?page=wpt_trans_files_page
- > Notice in wp-content/plugins/page-transitions/templates/trans-files.php+62
Undefined index: wpt_tag
- > GET request to /wp-admin/admin.php?page=wpt_trans_files_page
- > Notice in wp-content/plugins/page-transitions/templates/trans-files.php+107
Undefined index: wpt_author
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/main.php+152
Undefined index: save_transitions
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/main.php+158
Undefined index: wpt_transitions_off
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/main.php+163
Undefined index: wpt_transitions_on
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/main.php+168
Undefined index: save_settings
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/main.php+175
Undefined index: new_pass
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/main.php+180
Undefined index: wpt_save_styles
- > GET request to /wp-admin/admin.php?page=wpt_settings_page
- > Notice in wp-content/plugins/page-transitions/templates/settings.php+147
Undefined variable: success
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/page-transitions/templates/software.php
- 21× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant WPT_PLUGIN_URL - assumed 'WPT_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/page-transitions/templates/software.php on line 13
- > PHP Warning
Use of undefined constant WPT_PLUGIN_URL - assumed 'WPT_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/page-transitions/templates/settings.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_dropdown_categories() in wp-content/plugins/page-transitions/templates/trans-files.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/page-transitions/_config.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-transitions/modules/screenshot.php:3
- > PHP Warning
include_once(): Failed opening 'WPT_PLUGIN_PATH/classes/SimpleXMLExtended.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/page-transitions/modules/api.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/page-transitions/templates/queue.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/page-transitions/_config.php:3
- > PHP Warning
Use of undefined constant WPT_PLUGIN_URL - assumed 'WPT_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/page-transitions/templates/software.php on line 9
- > PHP Warning
Use of undefined constant WPT_PLUGIN_URL - assumed 'WPT_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/page-transitions/templates/trans-files.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Screenshots: Add images for these screenshots: #1 ('Scanner' Page Transition), #2 ('Genie' Page Transition), #3 ('Bad Signal' Page Transition), #4 ('Butterflies' Page Transition), #5 ('Old TV' Page Transition), #6 ('Flip' Page Transition), #7 ('Dispersion' Page Transition), #8 ('Transformers' Page Transition)
page-transitions/main.php 92% from 13 tests
This is the main PHP file of "WordPress Page Transitions" version 1.4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("page-transitions.php" instead of "main.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
It is important to fix the following items
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .air - Adobe AIR Installation Package in Adobe AIR
- ☣ wp-content/plugins/page-transitions/software/WP-Page-Transition-Generator.air
- .air - Adobe AIR Installation Package in Adobe AIR
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 208 | 159 | 1,038 |
JavaScript | 7 | 34 | 130 | 262 |
CSS | 2 | 13 | 3 | 74 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 43 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/images/slider.png | 0.53KB | 0.54KB | 0.00% |