100% regione-provincia-comune

Code Review | Regione Provincia Comune

WordPress plugin Regione Provincia Comune scored 100% from 54 tests.

About plugin

  • Plugin page: regione-provincia...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.4
  • WordPress version: 5.9.2
  • First release: Aug 27, 2013
  • Latest release: Dec 14, 2015
  • Number of updates: 17
  • Update frequency: every 49.4 days
  • Top authors: pasqualebucci (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

400+ active / 5,031 total downloads

Benchmarks

Plugin footprint Passed 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.48MB] [CPU: ▼302.85ms] Passed 4 tests

An overview of server-side resources used by Regione Provincia Comune
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.05 ▲0.5353.95 ▲3.43
Dashboard /wp-admin3.92 ▲0.5136.97 ▼1.98
Posts /wp-admin/edit.php4.14 ▲0.5038.94 ▼9.10
Add New Post /wp-admin/post-new.php7.38 ▲0.4195.25 ▼1,197.48
Media Library /wp-admin/upload.php3.79 ▲0.5028.03 ▼2.85

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: 3 new tables, no new options
New tables
wp_rpc_comuni
wp_rpc_regioni
wp_rpc_province

Browser metrics Passed 4 tests

An overview of browser requirements for Regione Provincia Comune
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,875 ▲13316.20 ▲0.6211.75 ▲6.212.18 ▲0.04
Dashboard /wp-admin2,895 ▲346.11 ▼0.12121.96 ▼18.60209.82 ▲48.90
Posts /wp-admin/edit.php2,694 ▲63.24 ▲0.0165.29 ▼13.08141.20 ▼9.54
Add New Post /wp-admin/post-new.php1,759 ▲16321.11 ▲2.34449.34 ▲14.21171.52 ▼52.01
Media Library /wp-admin/upload.php1,692 ▼35.50 ▼0.01176.03 ▲25.94211.15 ▼31.17

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 22 tag instead of maximum 10
The official readme.txt might help

regione-provincia-comune/regione-provincia-comune.php Passed 13 tests

The main PHP script in "Regione Provincia Comune" version 2.0 is automatically included on every request by WordPress
128 characters long description:
La classica e richiestissima cascata regione-provincia-comune per la prima volta come plugin completo. Anche per Contact Form 7!

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
No dangerous file extensions were detected8,450 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP157388,407
JavaScript110539
CSS1234

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin