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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.60ms] Passed 4 tests
Analyzing server-side resources used by Page Transition
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.07 ▼2.55 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.32 ▼10.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 56.27 ▲4.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.16 ▼15.20 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.01 ▲1.37 |
Page Transition /wp-admin/options-general.php?page=page-transition | 3.21 | 32.14 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Page Transition
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.07 | 1.54 ▼0.20 | 44.06 ▲1.98 |
Dashboard /wp-admin | 2,193 ▲13 | 5.52 ▼0.10 | 85.54 ▼12.87 | 38.00 ▼7.39 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.02 | 55.62 ▲17.70 | 46.62 ▲11.44 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.10 ▲0.00 | 658.53 ▼22.39 | 71.14 ▲14.19 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▲0.03 | 96.41 ▼4.35 | 44.90 ▲2.70 |
Page Transition /wp-admin/options-general.php?page=page-transition | 1,159 | 2.36 | 46.83 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (54 tag instead of maximum 10); only the first 5 tags are used in your directory listing
page-transition/page-transition.php Passed 13 tests
"Page Transition" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
140 characters long description:
Page Transition is a simple and easy wordpress plugin used to add page transition on CSS3 animations. Show your page with modern animations.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,307 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 11 | 14 | 884 |
PHP | 2 | 39 | 209 | 228 |
JavaScript | 3 | 0 | 15 | 195 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/numix_post_slider.png | 8.27KB | 3.95KB | ▼ 52.26% |