Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.74ms] Passed 4 tests
This is a short check of server-side resources used by Feed Reader
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.71 ▼5.87 |
Dashboard /wp-admin | 3.44 ▲0.13 | 43.68 ▼0.00 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.67 ▲5.68 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 95.53 ▲3.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.96 ▼0.35 |
Settings /wp-admin/admin.php?page=feed-reader/settings | 3.31 | 31.93 |
View Feed /wp-admin/admin.php?page=feed-reader/feeds/view | 3.47 | 31.70 |
Add Category /wp-admin/admin.php?page=feed-reader/categories/create | 3.34 | 30.49 |
Reader /wp-admin/admin.php?page=feed-reader | 3.36 | 35.91 |
View Category /wp-admin/admin.php?page=feed-reader/categories/view | 3.24 | 26.20 |
Categories /wp-admin/admin.php?page=feed-reader/categories | 3.31 | 30.79 |
Edit Feed /wp-admin/admin.php?page=feed-reader/feeds/edit | 3.31 | 30.65 |
Add Feed /wp-admin/admin.php?page=feed-reader/feeds/create | 3.31 | 32.74 |
Import & Export /wp-admin/admin.php?page=feed-reader/opml | 3.34 | 28.88 |
Feeds /wp-admin/admin.php?page=feed-reader/feeds | 3.33 | 32.96 |
Server storage [IO: ▲1.72MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 86 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_feed_reader_feeds |
wp_feed_reader_categories |
wp_feed_reader_entries |
New WordPress options |
---|
feed_reader_settings |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
feed_reader_db_version |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Feed Reader
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲149 | 13.32 ▼1.05 | 1.77 ▼0.31 | 41.93 ▼3.64 |
Dashboard /wp-admin | 2,278 ▲87 | 5.84 ▲0.98 | 97.25 ▼3.03 | 38.92 ▼6.81 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 1.99 ▼0.01 | 40.24 ▲6.04 | 36.08 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,595 ▲81 | 23.18 ▲5.52 | 607.69 ▼75.98 | 60.93 ▲5.56 |
Media Library /wp-admin/upload.php | 1,466 ▲75 | 4.22 ▼0.01 | 95.87 ▼6.12 | 46.17 ▲1.49 |
Settings /wp-admin/admin.php?page=feed-reader/settings | 949 | 2.05 | 22.57 | 25.32 |
View Feed /wp-admin/admin.php?page=feed-reader/feeds/view | 708 | 1.53 | 6.30 | 20.42 |
Add Category /wp-admin/admin.php?page=feed-reader/categories/create | 865 | 2.06 | 24.94 | 26.77 |
Reader /wp-admin/admin.php?page=feed-reader | 899 | 2.04 | 24.12 | 53.63 |
View Category /wp-admin/admin.php?page=feed-reader/categories/view | 708 | 1.53 | 6.23 | 17.53 |
Categories /wp-admin/admin.php?page=feed-reader/categories | 982 | 2.08 | 25.07 | 24.57 |
Edit Feed /wp-admin/admin.php?page=feed-reader/feeds/edit | 933 | 2.08 | 25.17 | 27.90 |
Add Feed /wp-admin/admin.php?page=feed-reader/feeds/create | 941 | 2.13 | 26.59 | 23.90 |
Import & Export /wp-admin/admin.php?page=feed-reader/opml | 888 | 2.21 | 25.27 | 28.87 |
Feeds /wp-admin/admin.php?page=feed-reader/feeds | 974 | 2.21 | 25.83 | 27.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_feed_reader_categories
- wp_feed_reader_entries
- wp_feed_reader_feeds
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- feed_reader_db_version
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- feed_reader_settings
- widget_recent-posts
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=feed-reader/feeds/edit
- > Notice in wp-content/plugins/feed-reader/includes/views/feeds/edit.php+55
Trying to get property 'id' of non-object
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
Please fix the following
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/feed-reader/includes/Helpers/class-feed-list-table.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/feed-reader/includes/Helpers/class-category-list-table.php:7
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Models\\Model' not found in wp-content/plugins/feed-reader/includes/Models/class-category.php:7
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Controllers\\Controller' not found in wp-content/plugins/feed-reader/includes/Controllers/class-feed-controller.php:12
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Formats\\Format' not found in wp-content/plugins/feed-reader/includes/Formats/class-json-feed.php:7
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Controllers\\Controller' not found in wp-content/plugins/feed-reader/includes/Controllers/class-opml-controller.php:10
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Models\\Model' not found in wp-content/plugins/feed-reader/includes/Models/class-entry.php:7
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Controllers\\Controller' not found in wp-content/plugins/feed-reader/includes/Controllers/class-category-controller.php:11
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Formats\\Format' not found in wp-content/plugins/feed-reader/includes/Formats/class-xml.php:8
- > PHP Fatal error
Uncaught Error: Class 'FeedReader\\Models\\Model' not found in wp-content/plugins/feed-reader/includes/Models/class-feed.php:8
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: rss, reader, atom, feeds, web feeds...
feed-reader/feed-reader.php Passed 13 tests
The main file in "Feed Reader" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
26 characters long description:
A dead-simple feed reader.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin9,039 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 1,048 | 2,076 | 8,296 |
CSS | 2 | 82 | 13 | 469 |
JavaScript | 1 | 53 | 4 | 224 |
XML | 1 | 1 | 0 | 26 |
JSON | 1 | 0 | 0 | 14 |
SVG | 1 | 0 | 0 | 10 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 348)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 40.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 388.00 |
Average method complexity | 5.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 348.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 2 | 5.56% |
▷ Concrete classes | 34 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 320 | |
▷ Static methods | 105 | 32.81% |
▷ Public methods | 243 | 75.94% |
▷ Protected methods | 67 | 20.94% |
▷ Private methods | 10 | 3.12% |
Functions | 39 | |
▷ Named functions | 35 | 89.74% |
▷ Anonymous functions | 4 | 10.26% |
Constants | 527 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 527 | 100.00% |
▷ Public constants | 527 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin