Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.76ms] Passed 4 tests
A check of server-side resources used by TypePad to Wordpress assets importer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.98 ▼5.55 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.67 ▼19.12 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.76 ▲2.36 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.67 ▼12.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.77 ▲2.84 |
TypePad to Wordpress /wp-admin/options-general.php?page=typepad-to-wordpress | 3.22 | 33.10 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TypePad to Wordpress assets importer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.22 ▲0.05 | 1.87 ▼0.22 | 45.21 ▲0.68 |
Dashboard /wp-admin | 2,204 ▲24 | 5.66 ▼0.04 | 86.05 ▼7.48 | 37.01 ▼3.01 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.04 ▲0.03 | 34.52 ▼4.41 | 32.60 ▼6.35 |
Add New Post /wp-admin/post-new.php | 1,544 ▲15 | 23.21 ▲5.62 | 634.37 ▼34.52 | 50.77 ▼7.40 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.23 ▲0.04 | 96.50 ▼11.86 | 43.99 ▼4.04 |
TypePad to Wordpress /wp-admin/options-general.php?page=typepad-to-wordpress | 981 | 7.82 | 147.13 | 25.03 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tp2wp-assets-importer/typepad-to-wordpress-display.php
- 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/tp2wp-assets-importer/typepad-to-wordpress.php:30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=typepad-to-wordpress
- > Network (severe)
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-7523804290028147&output=html&h=250&slotname=1016891469&adk=3114396750&adf=3969650770&pi=t.ma~as.1016891469&w=300&lmt=1697297787&format=300x250&url=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dtypepad-to-wordpress&wgl=1&dt=1697297786784&bpp=3&bdt=224&idt=265&shv=r20231011&mjsv=m202310100101&ptt=9&saldr=aa&abxe=1&correlator=6985267363762&frm=20&pv=2&ga_vid=1567164147.1697297787&ga_sid=1697297787&ga_hid=736540731&ga_fc=0&u_tz=180&u_his=14&u_h=600&u_w=800&u_ah=600&u_aw=800&u_cd=24&u_sd=1&adx=465&ady=153&biw=785&bih=600&scr_x=0&scr_y=0&eid=44759837%2C44759876%2C44759927%2C31078362%2C44805098%2C44805336%2C31078301&oid=2&pvsid=4393891586021805&tmod=2033756163&uas=0&nvt=1&fc=896&brdim=0%2C0%2C0%2C0%2C800%2C0%2C800%2C600%2C800%2C600&vis=1&rsz=%7C%7ClE%7C&abl=CS&pfx=0&fu=0&bc=23&ifi=1&uci=a!1&fsb=1&xpc=xU06NEMvWE&p=http%3A//wp.com&dtd=285 - Failed to load resource: the server responded with a status of 403 ()
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
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (This is the interface of TypePad to Wordpress.)
tp2wp-assets-importer/typepad-to-wordpress.php 92% from 13 tests
The primary PHP file in "TypePad to Wordpress assets importer" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tp2wp-assets-importer.php" instead of "typepad-to-wordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin244 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 38 | 141 |
JavaScript | 1 | 38 | 19 | 103 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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
1 PNG file occupies 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 149.60KB | 54.08KB | ▼ 63.85% |