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.01MB] [CPU: ▼3.89ms] Passed 4 tests
An overview of server-side resources used by Import Bookmarks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.94 ▼0.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.34 ▼6.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.21 ▲3.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.92 ▼7.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.89 ▼0.33 |
Import Bookmarks /wp-admin/tools.php?page=import-bookmarks | 3.20 | 31.33 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Import Bookmarks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.33 ▼1.07 | 4.08 ▲2.31 | 42.20 ▲1.63 |
Dashboard /wp-admin | 2,213 ▲22 | 5.88 ▼0.00 | 104.69 ▼1.79 | 39.58 ▼4.45 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.00 ▼0.05 | 39.50 ▼1.01 | 39.88 ▲3.36 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 18.54 ▼4.61 | 595.33 ▼5.81 | 53.24 ▼0.67 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.15 ▼0.09 | 94.63 ▼5.57 | 41.25 ▲0.06 |
Import Bookmarks /wp-admin/tools.php?page=import-bookmarks | 974 | 2.05 | 22.04 | 31.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: import, importer, bookmarks, favorites
import-bookmarks/import-bookmarks.php Passed 13 tests
The main PHP script in "Import Bookmarks" version 0.2.9 is automatically included on every request by WordPress
44 characters long description:
Import browser bookmarks as WordPress posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected392 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 161 | 324 |
Markdown | 1 | 7 | 0 | 68 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 2 | 18.18% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 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
No PNG files were detected