Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼6.10ms] Passed 4 tests
A check of server-side resources used by Page Transition Free for WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 34.98 ▼6.68 |
Dashboard /wp-admin | 3.52 ▲0.21 | 48.78 ▲1.74 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 51.82 ▲1.87 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 83.89 ▼20.87 |
Media Library /wp-admin/upload.php | 3.45 ▲0.21 | 37.44 ▲1.43 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
wppatr-page-selector |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Page Transition Free for WP: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲199 | 13.65 ▼0.66 | 6.99 ▲5.36 | 53.79 ▲13.09 |
Dashboard /wp-admin | 2,246 ▲58 | 5.90 ▲1.01 | 97.55 ▼12.03 | 40.14 ▼6.20 |
Posts /wp-admin/edit.php | 2,126 ▲40 | 2.06 ▲0.02 | 40.41 ▲4.95 | 34.75 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,546 ▲14 | 23.32 ▲0.24 | 637.09 ▼47.82 | 53.22 ▼10.73 |
Media Library /wp-admin/upload.php | 1,428 ▲37 | 4.30 ▲0.13 | 97.58 ▼4.03 | 40.95 ▼2.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: fluent, speed, ajax, loader, page transition...
page-transition-free-for-wp/page-transition-free-wp.php 69% from 13 tests
This is the main PHP file of "Page Transition Free for WP" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.7" instead of "5.4")
- Description: The description should be shorter than 140 characters (currently 144 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("page-transition-free-for-wp.php" instead of "page-transition-free-wp.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,592 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 810 | 353 | 4,492 |
PHP | 11 | 305 | 540 | 1,075 |
JavaScript | 2 | 110 | 0 | 749 |
SVG | 5 | 0 | 3 | 276 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 52 | 85.25% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 10 | |
▷ Global constants | 2 | 20.00% |
▷ Class constants | 8 | 80.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin