89% ww-scanner-fms

Code Review | Scanner FMS

WordPress plugin Scanner FMS scored89%from 54 tests.

About plugin

  • Plugin page: ww-scanner-fms
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Jun 16, 2022
  • Latest release: Jun 16, 2022
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: dimasicou2k (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /255 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼4.05ms] Passed 4 tests

A check of server-side resources used by Scanner FMS
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.98 ▼0.81
Dashboard /wp-admin3.31 ▼0.0358.68 ▼4.85
Posts /wp-admin/edit.php3.36 ▲0.0150.10 ▼2.33
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.75 ▼8.19
Media Library /wp-admin/upload.php3.23 ▲0.0137.17 ▲2.81

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Scanner FMS: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲7114.72 ▲0.352.13 ▲0.3442.73 ▲3.95
Dashboard /wp-admin2,210 ▲295.54 ▼0.1681.14 ▼18.4342.20 ▼0.73
Posts /wp-admin/edit.php2,121 ▲212.02 ▲0.0639.53 ▲2.4636.76 ▲2.72
Add New Post /wp-admin/post-new.php1,541 ▲1523.29 ▲0.08647.07 ▼63.2254.77 ▼0.66
Media Library /wp-admin/upload.php1,418 ▲184.17 ▼0.0396.82 ▼12.2145.48 ▼2.44

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
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Tags: You are using too many tags: 16 tag instead of maximum 10
  • Screenshots: These screenshots require images: #1 (Scanner FMS), #2 (OK - Nothing found), #3 (Not OK - Entry found)
The official readme.txt might help

ww-scanner-fms/ww-scanner-fms.php 92% from 13 tests

The main file in "Scanner FMS" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

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
Good job! No executable or dangerous file extensions detected307 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS13029215
PHP3414092

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin