88% parole-chiave-in-evidenza

Code Review | Parole chiave in evidenza

WordPress plugin Parole chiave in evidenza scored 88% from 54 tests.

About plugin

  • Plugin page: parole-chiave-in-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.0-3.7.1
  • WordPress version: 5.8.1
  • First release: Nov 24, 2013
  • Latest release: Nov 25, 2013
  • Number of updates: 11
  • Update frequency: every 0.3 days
  • Top authors: povidiu (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active / 966 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.16MB] [CPU: ▼152.98ms] Passed 4 tests

A check of server-side resources used by Parole chiave in evidenza
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.76 ▲0.0524.62 ▼4.79
Dashboard /wp-admin3.09 ▲0.0450.16 ▼5.05
Posts /wp-admin/edit.php3.14 ▲0.0348.99 ▲5.11
Add New Post /wp-admin/post-new.php4.68 ▼0.7658.16 ▼607.20
Media Library /wp-admin/upload.php3.03 ▲0.0340.72 ▲5.85
Parole chiave in evidenza /wp-admin/options-general.php?page=manage_settings2.9830.49

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options
highlightedtext_options

Browser metrics Passed 4 tests

Checking browser requirements for Parole chiave in evidenza
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,711 ▲11515.98 ▲0.089.24 ▼3.3948.41 ▼6.65
Dashboard /wp-admin2,975 ▲415.93 ▼0.00150.19 ▼20.93108.52 ▲0.05
Posts /wp-admin/edit.php2,744 ▲52.72 ▲0.0172.96 ▲1.6992.34 ▲1.72
Add New Post /wp-admin/post-new.php1,501 ▼18218.85 ▲0.09413.32 ▲8.54113.04 ▲4.26
Media Library /wp-admin/upload.php1,812 ▲795.01 ▼0.01159.53 ▼1.58119.51 ▲2.50
Parole chiave in evidenza /wp-admin/options-general.php?page=manage_settings1,2032.1066.4778.82

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=manage_settings
    • > Notice in wp-content/plugins/parole-chiave-in-evidenza/parole-chiave-in-evidenza.php+77
    Undefined index: highlightedtext_name
    • > GET request to /wp-admin/options-general.php?page=manage_settings
    • > Notice in wp-content/plugins/parole-chiave-in-evidenza/parole-chiave-in-evidenza.php+80
    Undefined index: highlightedtext_bold
    • > GET request to /wp-admin/options-general.php?page=manage_settings
    • > Notice in wp-content/plugins/parole-chiave-in-evidenza/parole-chiave-in-evidenza.php+88
    Undefined index: highlightedtext_italic
    • > GET request to /wp-admin/options-general.php?page=manage_settings
    • > Notice in wp-content/plugins/parole-chiave-in-evidenza/parole-chiave-in-evidenza.php+97
    Undefined index: highlightedtext_underline

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/parole-chiave-in-evidenza/parole-chiave-in-evidenza.php:10

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 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Plugin Name: You should set the name of your plugin on the first line ( === parole-chiave-in-evidenza === )
The official readme.txt might help

parole-chiave-in-evidenza/parole-chiave-in-evidenza.php Passed 13 tests

The main file in "Parole chiave in evidenza" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
100 characters long description:
Fa essatamente quello che dice, mette le parole chiave dei tuoi post o delle tue pagine in evidenza.

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
There were no executable files found in this plugin191 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15912191

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions7
▷ Named functions7100.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
No PNG images were found in this plugin