Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼3.52ms] Passed 4 tests
This is a short check of server-side resources used by iMega Teleport
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 48.29 ▲6.75 |
Dashboard /wp-admin | 3.68 ▲0.38 | 51.12 ▼2.47 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 61.35 ▲11.53 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 94.67 ▼22.87 |
Media Library /wp-admin/upload.php | 3.60 ▲0.38 | 40.82 ▲4.53 |
iMega Teleport /wp-admin/options-general.php?page=imegateleport_settings | 3.57 | 41.05 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
imegateleport-settings-zip |
imegateleport-settings-postinstall |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for iMega Teleport
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 13.18 ▼1.22 | 2.08 ▲0.24 | 42.20 ▲0.72 |
Dashboard /wp-admin | 2,241 ▲53 | 4.91 ▼0.99 | 112.27 ▲2.69 | 42.29 ▲3.65 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.19 ▲0.18 | 38.24 ▲0.46 | 35.55 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 21.31 ▼1.89 | 633.74 ▼19.11 | 50.76 ▼2.00 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.28 ▲0.08 | 110.87 ▲4.78 | 44.56 ▼2.71 |
iMega Teleport /wp-admin/options-general.php?page=imegateleport_settings | 800 | 2.02 | 27.07 | 27.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/imega-teleport/imega-teleport.php+2149
rmdir(wp-content/uploads/imegateleport_uploads/tmp): Directory not empty
- The uninstall procedure has failed, leaving 9 options in the database
- imegateleport_complete
- widget_theysaidso_widget
- can_compress_scripts
- imegateleport-settings-postinstall
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- imegateleport-settings-zip
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Tags: You are using too many tags: 27 tag instead of maximum 10
imega-teleport/imega-teleport.php 92% from 13 tests
"iMega Teleport" version 1.6.14's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,052 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 239 | 347 | 1,891 |
JavaScript | 1 | 8 | 20 | 93 |
HTML | 1 | 0 | 0 | 55 |
SQL | 12 | 0 | 240 | 11 |
XML | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 337.00 |
▷ Minimum class complexity | 337.00 |
▷ Maximum class complexity | 337.00 |
Average method complexity | 6.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 62.90% |
▷ Protected methods | 4 | 6.45% |
▷ Private methods | 19 | 30.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 78 | |
▷ Global constants | 75 | 96.15% |
▷ Class constants | 3 | 3.85% |
▷ Public constants | 3 | 100.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
2 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 100.15KB | 35.50KB | ▼ 64.55% |
teleport.png | 2.21KB | 2.21KB | 0.00% |