90% roosium-info

Code Review | Roosium Info

WordPress plugin Roosium Info scored90%from 54 tests.

About plugin

  • Plugin page: roosium-info
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3.0-5.3
  • WordPress version: 6.3.1
  • First release: Oct 22, 2019
  • Latest release: Oct 31, 2019
  • Number of updates: 6
  • Update frequency: every 3.3 days
  • Top authors: antonroos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /447 total downloads

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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼7.84ms] Passed 4 tests

This is a short check of server-side resources used by Roosium Info
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.71 ▼7.39
Dashboard /wp-admin3.31 ▲0.0145.35 ▼1.68
Posts /wp-admin/edit.php3.36 ▲0.0143.18 ▼4.21
Add New Post /wp-admin/post-new.php5.90 ▲0.0181.72 ▼18.08
Media Library /wp-admin/upload.php3.24 ▲0.0137.50 ▲4.23

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

Roosium Info: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.19 ▼1.191.64 ▼0.1540.21 ▼6.87
Dashboard /wp-admin2,203 ▲185.79 ▲0.90102.88 ▼11.9640.90 ▼6.06
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0137.98 ▲1.0334.52 ▼1.95
Add New Post /wp-admin/post-new.php1,514 ▼017.47 ▼0.05670.57 ▲6.9439.75 ▼11.97
Media Library /wp-admin/upload.php1,385 ▼64.37 ▲0.16102.05 ▲1.9843.45 ▼1.46

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts

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
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: mysql, version, support, admin, server...

roosium-info/roosium-info.php Passed 13 tests

The principal PHP file in "Roosium Info" v. 1.0.1 is loaded by WordPress automatically on each request
81 characters long description:
Display information about your WordPress, PHP, Web Server and MySQL installation.

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 plugin35 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP292033
Markdown1002

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin