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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.30MB] [CPU: ▼9.83ms] Passed 4 tests
An overview of server-side resources used by Add to Feedly
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 9.14 ▼33.77 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.26 ▼4.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.58 ▲3.04 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 83.62 ▼4.36 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 43.79 ▲9.69 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Add to Feedly
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲254 | 13.69 ▼0.99 | 9.36 ▲7.50 | 38.57 ▼12.61 |
Dashboard /wp-admin | 2,224 ▲36 | 4.92 ▼0.01 | 109.38 ▼3.44 | 79.57 ▲31.49 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.98 ▼0.03 | 37.81 ▲2.26 | 34.41 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,690 ▲148 | 24.68 ▲1.32 | 622.41 ▼29.83 | 54.01 ▲0.26 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.24 ▲0.00 | 98.46 ▼10.99 | 44.64 ▼2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/add-to-feedly/addtofeedly.php:204
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.png)
add-to-feedly/addtofeedly.php 85% from 13 tests
"Add to Feedly" version 1.2.11's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("add-to-feedly.php" instead of "addtofeedly.php")
- Description: The description should be shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,440 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 1,061 |
PHP | 1 | 27 | 20 | 171 |
PO File | 4 | 52 | 60 | 168 |
CSS | 1 | 3 | 0 | 20 |
JavaScript | 2 | 2 | 3 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
10 PNG files occupy 0.33MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/addtofeedly_master.png | 18.37KB | 7.23KB | ▼ 60.65% |
images/addtofeedly_es.png | 21.01KB | 8.24KB | ▼ 60.80% |
images/feedly-follow-medium.png | 6.98KB | 2.59KB | ▼ 62.92% |
images/addtofeedly_fr.png | 21.12KB | 8.17KB | ▼ 61.33% |
images/icon.png | 3.43KB | 0.55KB | ▼ 84.11% |