84% voce-performance-tools

Code Review | Voce Performance Tools

WordPress plugin Voce Performance Tools scored84%from 54 tests.

About plugin

  • Plugin page: voce-performance-...
  • Plugin version: 1.2.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.1
  • WordPress version: 6.3.1
  • First release: Aug 5, 2013
  • Latest release: Nov 12, 2017
  • Number of updates: 14
  • Update frequency: every 111.5 days
  • Top authors: kevinlangleyjr (71.43%)csloisel (35.71%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,351 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.14MB] [CPU: ▲0.09ms] Passed 4 tests

This is a short check of server-side resources used by Voce Performance Tools
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1244.67 ▲1.66
Dashboard /wp-admin3.49 ▲0.1957.93 ▲5.15
Posts /wp-admin/edit.php3.54 ▲0.1848.81 ▼4.06
Add New Post /wp-admin/post-new.php6.01 ▲0.12100.62 ▲2.20
Media Library /wp-admin/upload.php3.35 ▲0.1240.46 ▲0.54

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Voce Performance Tools
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.40 ▲0.171.66 ▼0.1643.04 ▼0.70
Dashboard /wp-admin2,198 ▲215.58 ▲0.0482.41 ▼16.8142.05 ▼3.13
Posts /wp-admin/edit.php2,100 ▼01.98 ▲0.0236.85 ▲1.5236.27 ▼6.44
Add New Post /wp-admin/post-new.php1,526 ▼1023.14 ▼0.01652.42 ▼46.8955.79 ▼7.81
Media Library /wp-admin/upload.php1,403 ▲34.23 ▲0.04110.53 ▲11.7846.55 ▼0.43

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 4× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voce-performance-tools/vendor/markjaquith/wp-tlc-transients/class-tlc-transient-update-server.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voce-performance-tools/vendor/voceconnect/voce-cached-nav/voce-cached-nav.php:29
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voce-performance-tools/vendor/voceconnect/voce-cached-nav/voce-cached-nav.php:29
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voce-performance-tools/vendor/voceconnect/voce-cached-nav/voce-cached-nav.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: cache, caching, performance

voce-performance-tools/voce-performance-tools.php Passed 13 tests

The primary PHP file in "Voce Performance Tools" version 1.2.3 is used by WordPress to initiate all plugin functionality
113 characters long description:
Provides numerous performance tools and functionalities to assist in developing high performance WordPress themes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,139 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP16212376924
JSON100215

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity17.78
▷ Minimum class complexity4.00
▷ Maximum class complexity52.00
Average method complexity2.94
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods78
▷ Static methods1823.08%
▷ Public methods6279.49%
▷ Protected methods00.00%
▷ Private methods1620.51%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin