Benchmarks
Plugin footprint 83% 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.06MB] [CPU: ▼4.01ms] Passed 4 tests
This is a short check of server-side resources used by WP Social Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.22 ▼2.17 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.89 ▼14.01 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.32 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 104.97 ▲1.28 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 37.07 ▲3.92 |
Edit account /wp-admin/admin.php?page=accounts-edit-aio-importer | 3.30 | 32.95 |
Import from account /wp-admin/admin.php?page=accounts-import-aio-importer | 3.31 | 31.56 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Social Importer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.57 ▼1.06 | 1.78 ▲0.09 | 43.96 ▲1.97 |
Dashboard /wp-admin | 2,218 ▲30 | 4.97 ▲0.09 | 113.36 ▼7.41 | 75.94 ▲31.98 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.99 ▼0.02 | 38.30 ▼4.08 | 33.82 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,689 ▲159 | 24.65 ▲6.43 | 682.82 ▲53.81 | 43.84 ▼12.22 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.21 ▲0.03 | 101.71 ▼0.93 | 77.44 ▲32.63 |
Edit account /wp-admin/admin.php?page=accounts-edit-aio-importer | 810 | 2.07 | 24.67 | 26.50 |
Import from account /wp-admin/admin.php?page=accounts-import-aio-importer | 2,149 | 2.38 | 27.85 | 29.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=accounts-edit-aio-importer
- > Notice in wp-content/plugins/wp-social-importer/accounts-edit.php+87
Trying to access array offset on value of type null
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=accounts-import-aio-importer
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: No valid plugin tags found
- Stable tag: Empty string
- Donate link: Invalid URI found ("")
wp-social-importer/aio-feed-importer.php 85% from 13 tests
The principal PHP file in "WP Social Importer" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-social-importer.php" instead of "aio-feed-importer.php")
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
Everything looks great! No dangerous files found in this plugin3,101 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 898 | 1,398 | 2,809 |
Markdown | 1 | 50 | 0 | 177 |
CSS | 1 | 1 | 0 | 115 |
PHP code Passed 2 tests
This is a very shot 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.38 |
Average class complexity | 19.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 2 | 11.11% |
▷ Concrete classes | 16 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 168 | |
▷ Static methods | 10 | 5.95% |
▷ Public methods | 126 | 75.00% |
▷ Protected methods | 27 | 16.07% |
▷ Private methods | 15 | 8.93% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ 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
16 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/edit-3-24.png | 0.44KB | 0.53KB | 0.00% |
images/stack-of-photos-32.png | 0.89KB | 0.94KB | 0.00% |
images/stack-of-photos-16.png | 0.42KB | 0.56KB | 0.00% |
images/delete-16.png | 0.31KB | 0.46KB | 0.00% |
images/arrow-87-24.png | 0.45KB | 0.58KB | 0.00% |