Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.97ms] Passed 4 tests
An overview of server-side resources used by ADNKronos Importer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 40.97 ▲0.77 |
Dashboard /wp-admin | 3.55 ▲0.20 | 44.70 ▼20.02 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 48.69 ▲3.48 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 91.21 ▼4.09 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 42.70 ▲8.76 |
Impostazioni Account /wp-admin/admin.php?page=adnk-plugin-account | 3.43 | 32.20 |
AdnKronos /wp-admin/admin.php?page=adnk-plugin-settings | 3.46 | 306.47 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
adn_site_active |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ADNKronos Importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.75 ▼0.54 | 1.73 ▼0.23 | 43.83 ▲0.77 |
Dashboard /wp-admin | 2,248 ▲60 | 4.84 ▼0.97 | 108.67 ▼8.82 | 43.62 ▼1.48 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.01 ▼0.01 | 40.92 ▲6.52 | 36.88 ▼4.33 |
Add New Post /wp-admin/post-new.php | 1,553 ▲11 | 23.32 ▲4.98 | 635.03 ▲22.96 | 49.55 ▼15.11 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.19 ▼0.05 | 97.65 ▼4.01 | 41.89 ▼3.27 |
Impostazioni Account /wp-admin/admin.php?page=adnk-plugin-account | 940 | 2.18 | 24.76 | 49.76 |
AdnKronos /wp-admin/admin.php?page=adnk-plugin-settings | 1,668 | 2.16 | 25.26 | 45.16 |
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 detected upon uninstall: 7 options
- can_compress_scripts
- adn_site_active
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adnkronos-feed-importer/inc/utility.php:188
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 your attention:
- Screenshots: Please describe screenshot #1 in adnkronos-feed-importer/assets to your readme.txt
adnkronos-feed-importer/adnk-importer.php 92% from 13 tests
The main PHP file in "ADNKronos Importer" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("adnkronos-feed-importer.php" instead of "adnk-importer.php")
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
No dangerous file extensions were detected1,244 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 221 | 172 | 1,176 |
CSS | 1 | 9 | 4 | 61 |
JavaScript | 1 | 4 | 24 | 6 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 29.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 12 | 85.71% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/sfera.png | 33.19KB | 11.09KB | ▼ 66.57% |