Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼136.27ms] Passed 4 tests
An overview of server-side resources used by TP2WP Importer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 39.41 ▲15.11 |
Dashboard /wp-admin | 3.11 ▲0.06 | 49.35 ▲14.63 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 46.97 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 91.61 ▼561.85 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 37.61 ▲0.66 |
2. Content /wp-admin/admin.php?page=tp2wp-importer-content | 3.00 | 33.35 |
1. Status Check /wp-admin/admin.php?page=tp2wp-importer | 3.24 | 27.56 |
3. Attachments /wp-admin/admin.php?page=tp2wp-importer-attachments | 3.07 | 34.15 |
Server storage [IO: ▲0.17MB] [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: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for TP2WP Importer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲113 | 15.86 ▼0.14 | 7.77 ▼1.00 | 49.31 ▼3.30 |
Dashboard /wp-admin | 3,012 ▲78 | 6.02 ▲0.05 | 143.71 ▼14.42 | 122.95 ▲4.89 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 2.70 ▲0.01 | 67.03 ▼3.20 | 97.56 ▲4.32 |
Add New Post /wp-admin/post-new.php | 1,616 ▼67 | 18.63 ▲0.24 | 379.56 ▼32.03 | 110.56 ▼8.34 |
Media Library /wp-admin/upload.php | 1,849 ▲42 | 5.00 ▲0.03 | 170.72 ▼2.54 | 123.26 ▼6.94 |
2. Content /wp-admin/admin.php?page=tp2wp-importer-content | 1,820 | 3.16 | 69.24 | 75.54 |
1. Status Check /wp-admin/admin.php?page=tp2wp-importer | 1,461 | 2.10 | 61.31 | 80.14 |
3. Attachments /wp-admin/admin.php?page=tp2wp-importer-attachments | 1,375 | 2.38 | 70.75 | 110.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=tp2wp-importer-content
- > Deprecated in wp-content/plugins/tp2wp-importer/content/importer.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; TP2WP_Import has a deprecated constructor
- > GET request to /wp-admin/admin.php?page=tp2wp-importer-content
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=tp2wp-importer-content
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp2wp-importer/attachments/page.php:23
- > PHP Warning
require_once(ABSPATHwp-admin/includes/import.php): failed to open stream: No such file or directory in wp-content/plugins/tp2wp-importer/content/importer.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function tp2wp_importer_tabs() in wp-content/plugins/tp2wp-importer/status/templates/page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp2wp-importer/status/page.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tp2wp-importer/status/main.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function tp2wp_importer_url() in wp-content/plugins/tp2wp-importer/general/templates/tabs.php:24
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/import.php' (include_path='.:/usr/share/php') in wp-content/plugins/tp2wp-importer/content/importer.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function tp2wp_importer_tabs() in wp-content/plugins/tp2wp-importer/attachments/templates/page.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tp2wp-importer/content/importer.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tp2wp-importer/content/main.php:13
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Donate link: Invalid url: ""
tp2wp-importer/tp2wp-importer.php Passed 13 tests
The main PHP file in "TP2WP Importer" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
74 characters long description:
Collection of functionality to ease importing Typepad data into Wordpress.
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
No dangerous file extensions were detected2,975 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 531 | 885 | 2,539 |
JavaScript | 2 | 82 | 75 | 307 |
Markdown | 1 | 10 | 0 | 76 |
CSS | 2 | 12 | 0 | 53 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 54.20 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 6.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 46 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin