10% renee-work-in-progress

Code Review | 3D Work In Progress

WordPress plugin 3D Work In Progress scored10%from 54 tests.

About plugin

  • Plugin page: renee-work-in-pro...
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.5
  • WordPress version: 6.3.1
  • First release: Aug 25, 2020
  • Latest release: Sep 22, 2020
  • Number of updates: 20
  • Update frequency: every 1.4 days
  • Top authors: reneecussack (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /533 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Warning in wp-content/plugins/renee-work-in-progress/renee-work-in-progress.php+69
    copy(wp-content/languages/plugins/renee-work-in-progress-pl_PL.mo): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.21MB] [CPU: ▲5.65ms] Passed 4 tests

This is a short check of server-side resources used by 3D Work In Progress
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.85 ▲0.3946.07 ▲6.55
Dashboard /wp-admin3.46 ▲0.1653.44 ▲4.58
Posts /wp-admin/edit.php3.60 ▲0.2453.49 ▲6.02
Add New Post /wp-admin/post-new.php6.01 ▲0.1293.50 ▲5.43
Media Library /wp-admin/upload.php3.53 ▲0.3042.56 ▲8.13
3D WIP Settings /wp-admin/options-general.php?page=wip_options4.3142.34

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: 1 new table, 6 new options
New tables
wp_renee_wip_settings
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for 3D Work In Progress
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,977 ▲24221.12 ▲6.547.83 ▲6.0042.15 ▼6.01
Dashboard /wp-admin2,312 ▲12311.00 ▲6.13283.69 ▲173.2844.29 ▲5.40
Posts /wp-admin/edit.php2,230 ▲14110.40 ▲8.4189.78 ▲55.2833.12 ▼2.24
Add New Post /wp-admin/post-new.php6,263 ▲4,74919.62 ▲2.12829.07 ▲146.6238.33 ▼21.03
Media Library /wp-admin/upload.php1,523 ▲13212.43 ▲8.25151.25 ▲54.3545.74 ▲0.54
3D WIP Settings /wp-admin/options-general.php?page=wip_options5,40315.73377.8361.69

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Almost there! Just fix the following items
  • 6× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/renee-work-in-progress/inc/index.php
    • > /wp-content/plugins/renee-work-in-progress/solid/index.php
    • > /wp-content/plugins/renee-work-in-progress/assets/index.php
    • > /wp-content/plugins/renee-work-in-progress/solid/models/index.php
    • > /wp-content/plugins/renee-work-in-progress/index.php
    • > /wp-content/plugins/renee-work-in-progress/solid/snapshots/index.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=wip_options
    • > Network (severe)
    https://www.paypalobjects.com/en_PL/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: progress, e-drawings, 3d model viewer, 3d, solidworks

renee-work-in-progress/renee-work-in-progress.php 92% from 13 tests

The entry point to "3D Work In Progress" version 1.0.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 226 characters long)

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
Everything looks great! No dangerous files found in this plugin6,514 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PHP15184653,029
JavaScript4144882,267
CSS312011,027
PO File183165190
JSON1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.87
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%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
solid/tick.png2.96KB1.21KB▼ 59.20%