Benchmarks
Plugin footprint 82% 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: ▲0.11MB] [CPU: ▼5.52ms] 75% from 4 tests
Server-side resources used by IRM Newsroom
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 2,838.90ms on /wp-admin/options-general.php?page=irm-newsroom)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.81 ▲4.28 |
Dashboard /wp-admin | 3.42 ▲0.07 | 46.74 ▼9.26 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 44.10 ▼1.27 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.13 ▼14.22 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 37.53 ▲2.68 |
IRM Newsroom /wp-admin/options-general.php?page=irm-newsroom | 3.32 | 2,838.90 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for IRM Newsroom
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲119 | 13.48 ▼0.92 | 8.55 ▲6.69 | 43.89 ▲4.15 |
Dashboard /wp-admin | 2,206 ▲26 | 5.63 ▼0.04 | 95.78 ▲8.88 | 42.43 ▲2.00 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.04 ▲0.08 | 36.55 ▲0.20 | 32.00 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.13 ▼0.04 | 665.54 ▼6.36 | 63.78 ▲3.92 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.15 ▼0.03 | 94.59 ▼6.22 | 43.88 ▲1.10 |
IRM Newsroom /wp-admin/options-general.php?page=irm-newsroom | 947 | 1.99 | 22.18 | 44.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/irm-newsroom/public/partials/irm-newsroom-public-display.php
- > /wp-content/plugins/irm-newsroom/featured-image.php
- > /wp-content/plugins/irm-newsroom/cats.php
- > /wp-content/plugins/irm-newsroom/admin/partials/irm-newsroom-admin-display.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 issues were found
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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== irm-newsroom ===
)
irm-newsroom/irm-newsroom.php 92% from 13 tests
The main file in "IRM Newsroom" v. 1.2.15 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 267 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin849 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 249 | 587 | 721 |
PO File | 1 | 56 | 58 | 122 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 1.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.83% |
Functions | 21 | |
▷ Named functions | 21 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected