94% nouw-css

Code Review | Nouw CSS

WordPress plugin Nouw CSS scored 94% from 54 tests.

About plugin

  • Plugin page: nouw-css
  • Plugin version: 0.6
  • PHP version: 7.4.16
  • WordPress version: 5.8.1
  • First release: Jun 15, 2016
  • Latest release: Jun 15, 2016
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: ollebenouw (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 928 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.00MB] [CPU: ▼143.07ms] Passed 4 tests

Server-side resources used by Nouw CSS
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0135.42 ▲5.71
Dashboard /wp-admin3.06 ▲0.0141.74 ▼6.21
Posts /wp-admin/edit.php3.11 ▲0.0142.10 ▼3.31
Add New Post /wp-admin/post-new.php5.42 ▼0.0187.36 ▼564.52
Media Library /wp-admin/upload.php3.00 ▲0.0030.81 ▲1.78

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Nouw CSS
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,695 ▲9915.95 ▲0.3511.10 ▲2.0644.21 ▼5.51
Dashboard /wp-admin2,975 ▲415.91 ▼0.08134.14 ▼14.85106.49 ▼5.60
Posts /wp-admin/edit.php2,741 ▲22.85 ▲0.1363.19 ▼2.7786.68 ▼7.00
Add New Post /wp-admin/post-new.php1,674 ▼2,05018.76 ▲3.57360.62 ▼75.70109.17 ▲7.06
Media Library /wp-admin/upload.php1,812 ▲55.03 ▼0.01148.47 ▲0.21115.87 ▼5.72

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/nouw-css/nouw-css.php
    • > /wp-content/plugins/nouw-css/index.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: compatibility, import, css, importer, nouw

nouw-css/nouw-css.php 92% from 13 tests

The main file in "Nouw CSS" v. 0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)

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
No dangerous file extensions were detected30 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2121529
CSS1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.11
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%
Functions5
▷ Named functions5100.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