Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.39ms] Passed 4 tests
Analyzing server-side resources used by ActivityStream extension
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.59 ▼16.62 |
Dashboard /wp-admin | 3.33 ▼0.02 | 55.89 ▼5.91 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.72 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.71 ▼12.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.00 ▲2.48 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ActivityStream extension
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.34 ▼0.36 | 1.71 ▼0.20 | 37.24 ▼7.56 |
Dashboard /wp-admin | 2,195 ▲17 | 5.56 ▼0.12 | 95.95 ▼19.48 | 42.69 ▼2.57 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.05 | 36.15 ▼4.68 | 33.32 ▼4.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.20 ▼0.14 | 663.05 ▲71.43 | 57.73 ▲5.73 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.15 ▼0.04 | 95.54 ▼1.86 | 42.19 ▼1.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_singular() in wp-content/plugins/activitystream-extension/templates/feed-as2-comments.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/activitystream-extension/activitystream-extension.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_feed_link() in wp-content/plugins/activitystream-extension/templates/feed-as2.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/activitystream-extension/templates/feed-as1.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/activitystream-extension/templates/feed-as1-comments.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: activity stream, activitystreams, json-ld, feed, atom...
activitystream-extension/activitystream-extension.php Passed 13 tests
"ActivityStream extension" version 1.3.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
73 characters long description:
An extensions which adds several ActivityStreams (activitystrea.ms) Feeds
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected689 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 143 | 284 | 689 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 17 | 100.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin