Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.47ms] Passed 4 tests
Server-side resources used by Display Remote Posts Block
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.15 ▼5.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.52 ▼3.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.71 ▼3.61 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.95 ▼5.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.61 ▲1.45 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Display Remote Posts Block
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.29 ▼0.06 | 1.69 ▲0.15 | 36.49 ▼4.81 |
Dashboard /wp-admin | 2,192 ▲15 | 5.50 ▼0.10 | 82.35 ▼15.99 | 38.16 ▼6.16 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.01 | 36.42 ▼3.95 | 35.50 ▼2.68 |
Add New Post /wp-admin/post-new.php | 6,362 ▲4,834 | 27.49 ▲4.11 | 945.37 ▲274.01 | 54.55 ▲2.40 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.22 ▲0.05 | 110.46 ▲5.06 | 49.18 ▲5.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- 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 | This is a short smoke test looking 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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/display-remote-posts-block/display-remote-posts-block.php
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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: blog, rss, jetpack, block, blogger
display-remote-posts-block/display-remote-posts-block.php Passed 13 tests
The main PHP file in "Display Remote Posts Block" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
62 characters long description:
Block to display recent posts from a WordPress or Blogger blog
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
There were no executable files found in this plugin467 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 281 | 8 | 418 |
JSON | 1 | 0 | 0 | 48 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 105.00 |
▷ Minimum class complexity | 105.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 9.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 7 | 53.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 46.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected