Benchmarks
Plugin footprint 65% 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: ▲4.96MB] [CPU: ▲45.68ms] Passed 4 tests
An overview of server-side resources used by PressForward
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.36 ▲4.90 | 79.06 ▲37.60 |
Dashboard /wp-admin | 8.28 ▲4.97 | 96.25 ▲47.32 |
Posts /wp-admin/edit.php | 8.34 ▲4.98 | 96.68 ▲44.39 |
Add New Post /wp-admin/post-new.php | 11.33 ▲5.44 | 180.81 ▲86.43 |
Media Library /wp-admin/upload.php | 8.23 ▲4.99 | 84.94 ▲53.41 |
Feed Item Tags /wp-admin/edit-tags.php?taxonomy=pf_feed_item_tag&post_type=pf_feed_item | 8.22 | 83.13 |
Tools /wp-admin/admin.php?page=pf-tools | 8.31 | 88.03 |
View Log /wp-admin/admin.php?page=pf-debugger | 8.20 | 89.45 |
Nominated /wp-admin/admin.php?page=pf-review | 8.22 | 91.00 |
All Content /wp-admin/admin.php?page=pf-menu | 8.23 | 88.77 |
Subscribed Feeds /wp-admin/edit.php?post_type=pf_feed | 8.27 | 87.94 |
Folders /wp-admin/edit-tags.php?taxonomy=pf_feed_category | 8.22 | 82.38 |
Preferences /wp-admin/admin.php?page=pf-options | 8.25 | 90.07 |
Foo /wp-admin/admin.php?page=pf-foo | 7.94 | 65.49 |
Add Feeds /wp-admin/admin.php?page=pf-feeder | 8.31 | 86.06 |
Server storage [IO: ▲12.74MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 590 new files
Database: 1 new table, 25 new options
New tables |
---|
wp_pf_relationships |
New WordPress options |
---|
widget_recent-comments |
pf_rss-out_settings |
pf_retrieval_chunks_begun |
pf_feeds_go_switch |
pf_comments_settings |
widget_recent-posts |
pf_system_jwt_key |
pf_foo_settings |
pf_foo_enable |
pressforward_migrated_530_source_statements |
... |
Browser metrics Passed 4 tests
Checking browser requirements for PressForward
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲165 | 13.25 ▼0.99 | 1.75 ▼0.20 | 42.88 ▼6.08 |
Dashboard /wp-admin | 2,296 ▲111 | 5.89 ▲0.77 | 116.95 ▲13.08 | 92.16 ▲45.86 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 3.07 ▲1.06 | 72.70 ▲32.05 | 39.32 ▲3.51 |
Add New Post /wp-admin/post-new.php | 1,730 ▲194 | 21.87 ▼1.24 | 720.24 ▲21.56 | 55.89 ▲0.33 |
Media Library /wp-admin/upload.php | 1,451 ▲63 | 4.22 ▼0.02 | 112.74 ▼1.85 | 80.77 ▲30.00 |
Feed Item Tags /wp-admin/edit-tags.php?taxonomy=pf_feed_item_tag&post_type=pf_feed_item | 1,306 | 2.18 | 35.74 | 32.03 |
Tools /wp-admin/admin.php?page=pf-tools | 1,115 | 3.46 | 77.51 | 71.90 |
View Log /wp-admin/admin.php?page=pf-debugger | 958 | 3.48 | 66.93 | 24.42 |
Nominated /wp-admin/admin.php?page=pf-review | 1,134 | 3.75 | 80.26 | 33.88 |
All Content /wp-admin/admin.php?page=pf-menu | 1,169 | 3.64 | 81.73 | 72.42 |
Subscribed Feeds /wp-admin/edit.php?post_type=pf_feed | 1,228 | 2.94 | 69.28 | 38.07 |
Folders /wp-admin/edit-tags.php?taxonomy=pf_feed_category | 1,341 | 2.22 | 37.64 | 36.24 |
Preferences /wp-admin/admin.php?page=pf-options | 2,023 | 3.28 | 60.40 | 44.81 |
Foo /wp-admin/admin.php?page=pf-foo | 28 | 0.44 | 0.07 | 4.15 |
Add Feeds /wp-admin/admin.php?page=pf-feeder | 1,398 | 4.52 | 76.68 | 31.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_pf_relationships
- This plugin did not uninstall successfully, leaving 25 options in the database
- pf_debugger_settings
- pf_feeds_go_switch
- pf_retrieval_chunks_begun
- can_compress_scripts
- pf_jwt_users
- pf_opml-subscribe_settings
- pf_retrieval_cycles_ended
- theysaidso_admin_options
- pf_retrieval_cycles_begun
- pf_relationships_db_version
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 728 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pf-feeder
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 728 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pf-feeder
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 2909 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pf-feeder
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 727 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pf-feeder
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
SRP 0% 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 fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pressforward/vendor/mattwright/urlresolver/tools/resolve_url.php
- > /wp-content/plugins/pressforward/vendor/masterminds/html5/bin/entities.php
- 156× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/pressforward/vendor/psr/log/Psr/Log/NullLogger.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Intraxia\\Jaxion\\Contract\\Core\\HasActions' not found in wp-content/plugins/pressforward/Core/Utility/Relate.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/pressforward/parts/pf-tools/tab-reset-refresh.tpl.php:12
- > PHP Fatal error
Uncaught Error: Class 'Intraxia\\Jaxion\\Assets\\ServiceProvider' not found in wp-content/plugins/pressforward/Core/Providers/AdminAreaServiceProvider.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Intraxia\\Jaxion\\Contract\\Core\\Loader' not found in wp-content/plugins/pressforward/Libraries/Jaxion/src/Core/Loader.php:17
- > PHP Fatal error
Trait 'fivefilters\\Readability\odes\odeTrait' not found in wp-content/plugins/pressforward/vendor/fivefilters/readability.php/src/Nodes/DOM/DOMDocumentFragment.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'PressForward\\Interfaces\\Items' not found in wp-content/plugins/pressforward/Controllers/PF_to_WP_Posts.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Intraxia\\Jaxion\\Contract\\Core\\HasActions' not found in wp-content/plugins/pressforward/Core/API/MetaCheckEndpoint.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/pressforward/constants.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Intraxia\\Jaxion\\Contract\\Axolotl\\Serializes' not found in wp-content/plugins/pressforward/Libraries/Jaxion/src/Axolotl/Model.php:24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pf-menu
- > Console-api (severe) in wp-content/plugins/pressforward//build/scroll.js?ver=ed432387daed89befb06+0:6349
Bad InfiniteScroll path option. Next link not found: .feednext a
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pf-menu
- > Console-api (severe) in wp-content/plugins/pressforward//build/scroll.js?ver=ed432387daed89befb06+0:4289
Disabling InfiniteScroll
- > GET request to /wp-admin/admin.php?page=pf-foo
- > Network (severe)
wp-admin/admin.php?page=pf-foo - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (30 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Please fix this invalid URI: ""
pressforward/pressforward.php 92% from 13 tests
The principal PHP file in "PressForward" v. 5.5.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin111,908 lines of code in 507 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 303 | 7,899 | 20,981 | 42,845 |
CSS | 35 | 8,737 | 266 | 39,051 |
JavaScript | 77 | 5,709 | 3,696 | 21,088 |
Markdown | 34 | 1,058 | 0 | 2,902 |
PO File | 2 | 1,005 | 1,146 | 2,476 |
Sass | 22 | 352 | 6 | 1,757 |
JSON | 17 | 0 | 0 | 1,438 |
YAML | 8 | 46 | 14 | 236 |
XML | 5 | 1 | 0 | 76 |
make | 1 | 7 | 0 | 20 |
SVG | 1 | 0 | 0 | 12 |
Dockerfile | 1 | 3 | 9 | 4 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 19.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 388.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 51 | |
Traits | 3 | |
Classes | 208 | |
▷ Abstract classes | 5 | 2.40% |
▷ Concrete classes | 203 | 97.60% |
▷ Final classes | 15 | 7.39% |
Methods | 2,218 | |
▷ Static methods | 204 | 9.20% |
▷ Public methods | 1,921 | 86.61% |
▷ Protected methods | 127 | 5.73% |
▷ Private methods | 170 | 7.66% |
Functions | 247 | |
▷ Named functions | 95 | 38.46% |
▷ Anonymous functions | 152 | 61.54% |
Constants | 289 | |
▷ Global constants | 77 | 26.64% |
▷ Class constants | 212 | 73.36% |
▷ Public constants | 165 | 77.83% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Libraries/twitter-bootstrap/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
pressforward-16-dark.png | 3.41KB | 0.73KB | ▼ 78.72% |
assets/icon-256x256.png | 1.97KB | 1.96KB | ▼ 0.74% |
pressforward.png | 3.54KB | 0.62KB | ▼ 82.58% |
assets/images/pressforward-single-licon.png | 20.01KB | 0.56KB | ▼ 97.20% |