Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.92MB] [CPU: ▼32.70ms] Passed 4 tests
An overview of server-side resources used by Easy Page Transition
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.71 ▼1.97 |
Dashboard /wp-admin | 3.02 ▼0.28 | 23.36 ▼25.80 |
Posts /wp-admin/edit.php | 3.02 ▼0.33 | 27.91 ▼20.42 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.86 | 24.17 ▼71.96 |
Media Library /wp-admin/upload.php | 3.02 ▼0.20 | 24.56 ▼12.61 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Page Transition
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲231 | 13.68 ▼0.75 | 6.24 ▲4.60 | 43.32 ▲2.26 |
Dashboard /wp-admin | 2,234 ▲43 | 5.89 ▼0.01 | 109.40 ▲2.47 | 51.22 ▲8.43 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.07 ▲0.07 | 39.67 ▲4.34 | 48.67 ▲17.40 |
Add New Post /wp-admin/post-new.php | 1,529 ▼5 | 23.22 ▲0.03 | 687.45 ▲6.19 | 81.01 ▲27.23 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.22 ▲0.09 | 93.50 ▼14.76 | 52.03 ▲7.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-page-transition/admin/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-page-transition/public/frontend/frontend.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Requires at least: Version format is invalid
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== easy-page-transition ===
)
easy-page-transition/index.php 85% from 13 tests
The main file in "Easy Page Transition" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-page-transition.php" instead of "index.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin502 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 47 | 0 | 233 |
PHP | 3 | 59 | 44 | 219 |
JavaScript | 2 | 4 | 8 | 38 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.76 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 15.34KB | 6.69KB | ▼ 56.42% |
assets/banner-772x250-rtl.png | 15.33KB | 6.69KB | ▼ 56.37% |
assets/icon-128x128.png | 0.58KB | 0.23KB | ▼ 59.56% |
assets/screenshot-1.png | 26.93KB | 8.43KB | ▼ 68.70% |
assets/banner-1544x500-rtl.png | 31.97KB | 14.37KB | ▼ 55.05% |