Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/connected-web/connected-web.php+196
require_once(includes/metadata/attachment.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.60ms] Passed 4 tests
An overview of server-side resources used by Connected Web
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.21 ▲0.31 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.51 ▼4.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.39 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.90 ▼5.37 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.89 ▲4.60 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Connected Web: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.28 ▼1.09 | 1.72 ▼0.43 | 47.23 ▲0.89 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.18 | 96.63 ▼10.25 | 40.93 ▼4.84 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.97 ▼0.04 | 40.20 ▲0.20 | 37.21 ▲2.83 |
Add New Post /wp-admin/post-new.php | 1,538 ▲18 | 18.27 ▼4.75 | 682.63 ▼16.24 | 51.22 ▼5.04 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.20 ▲0.01 | 97.91 ▼2.14 | 41.59 ▼1.81 |
Uninstaller [IO: ▲0.13MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following itemsThe uninstall procedure has failed, leaving 7 options in the database
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/connected-web/connected-web.php+196
require_once(includes/metadata/attachment.php): failed to open stream: No such file or directory
- This plugin has failed uninstalling correctly, leaving 22 files (0.13MB) in the plugin directory
- (new file) LICENSE
- (new file) includes/connectedweb/DomWalker.php
- (new file) admin/css/onoff.css
- (new file) includes/attachment.php
- (new file) connectedweb-source.php
- (new file) connected-web.php
- (new file) includes/connectedweb/LICENSE
- (new file) connectedweb-feed.php
- (new file) README.md
- (new file) includes/blog.php
- ...
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: atom, videos, files, feed, media...
connected-web/connected-web.php Passed 13 tests
The principal PHP file in "Connected Web" v. 1.0.0 is loaded by WordPress automatically on each request
56 characters long description:
Add Connected Web feed support to your Wordpress website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,125 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 343 | 1,044 | 1,072 |
CSS | 1 | 1 | 0 | 48 |
Markdown | 2 | 1 | 0 | 5 |
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.25 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 1 | 1.82% |
▷ Public methods | 52 | 94.55% |
▷ Protected methods | 2 | 3.64% |
▷ Private methods | 1 | 1.82% |
Functions | 42 | |
▷ Named functions | 23 | 54.76% |
▷ Anonymous functions | 19 | 45.24% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin