84% wp-veloce

Code Review | WordPress Veloce

WordPress plugin WordPress Veloce scored84%from 54 tests.

About plugin

  • Plugin page: wp-veloce
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.6.1
  • WordPress version: 6.3.1
  • First release: Oct 27, 2016
  • Latest release: Nov 15, 2016
  • Number of updates: 5
  • Update frequency: every 3.8 days
  • Top authors: SalvatoreDP (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

70+ active /1,682 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by WordPress Veloce
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.27 ▼0.77
Dashboard /wp-admin3.31 ▼0.0352.06 ▼14.58
Posts /wp-admin/edit.php3.36 ▲0.0150.09 ▲0.99
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.77 ▼15.31
Media Library /wp-admin/upload.php3.24 ▲0.0134.78 ▼1.20

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests

Input-output and database impact of this plugin
Please fix the following
  • Illegal file modification detected: 1 file (3.08KB) outside of "wp-content/plugins/wp-veloce/" and "wp-content/uploads/"
    • (modified) .htaccess
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

WordPress Veloce: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,792 ▲4613.16 ▼1.131.80 ▼0.0043.88 ▼1.92
Dashboard /wp-admin2,203 ▲206.01 ▲1.0297.58 ▼16.9637.51 ▼9.12
Posts /wp-admin/edit.php2,092 ▲32.06 ▲0.0338.74 ▼1.3534.35 ▲1.18
Add New Post /wp-admin/post-new.php1,533 ▲1923.15 ▲5.56657.78 ▼3.7552.27 ▼8.76
Media Library /wp-admin/upload.php1,391 ▲34.21 ▲0.0198.33 ▼10.3242.99 ▼2.45

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 6× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-veloce/core/pulisci_css_javascript.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-veloce/core/pulisci_head.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-veloce/core/pulisci_css_javascript.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-veloce/core/lazy_loads_images.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-veloce/core/modifica_htaccess.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-veloce/core/pulisci_css_javascript.php:7

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

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: google speed test, pingdom, speed test, site optimization, gtmetrix...

wp-veloce/index.php 92% from 13 tests

This is the main PHP file of "WordPress Veloce" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-veloce.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected181 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP63117173
JavaScript1118

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.03
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin