Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.21ms] Passed 4 tests
An overview of server-side resources used by Teleport
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.64 ▲2.97 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.29 ▼2.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.23 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.13 ▼0.52 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.95 ▼2.26 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
teleport_admin_warp |
widget_recent-posts |
Browser metrics Passed 4 tests
Teleport: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲267 | 14.21 ▼0.10 | 14.44 ▲12.82 | 43.66 ▲5.67 |
Dashboard /wp-admin | 2,206 ▲20 | 5.90 ▲0.98 | 108.75 ▼13.39 | 42.34 ▼0.75 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.01 ▼0.03 | 39.03 ▼0.90 | 35.57 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.22 ▲5.74 | 623.17 ▼35.61 | 50.18 ▼3.38 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▲0.02 | 94.11 ▼11.09 | 41.15 ▼6.66 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- teleport_admin_warp
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/teleport/teleport.php:163
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Teleporter - Logged In), #2 (Teleporter - Logged Out), #3 (Diagram of the keyboard shortcuts)
teleport/teleport.php 92% from 13 tests
The main PHP file in "Teleport" ver. 1.2.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 552 characters long)
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
Success! There were no dangerous files found in this plugin500 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 7 | 13 | 204 |
CSS | 1 | 24 | 0 | 174 |
PHP | 1 | 13 | 34 | 122 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.28MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logout_icon.png | 2.62KB | 1.71KB | ▼ 34.64% |
images/edit_icon.png | 1.93KB | 0.91KB | ▼ 53.06% |
images/settings_icon.png | 1.83KB | 1.00KB | ▼ 45.57% |
images/big_button_pressed.png | 5.62KB | 2.19KB | ▼ 61.09% |
images/dash_icon.png | 1.66KB | 0.58KB | ▼ 65.10% |