84% tivwp-dm-development-manager

Code Review | TIVWP-DM Development Manager

WordPress plugin TIVWP-DM Development Manager scored 84% from 54 tests.

About plugin

  • Plugin page: tivwp-dm-developm...
  • Plugin version: 14.03.25
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.0
  • WordPress version: 6.3.1
  • First release: Mar 19, 2014
  • Latest release: Oct 11, 2014
  • Number of updates: 10
  • Update frequency: every 20.6 days
  • Top authors: tivnet (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,061 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.22MB] [CPU: ▼1.11ms] Passed 4 tests

This is a short check of server-side resources used by TIVWP-DM Development Manager
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.51 ▼2.29
Dashboard /wp-admin3.58 ▲0.2847.97 ▼2.34
Posts /wp-admin/edit.php3.70 ▲0.3449.77 ▲4.27
Add New Post /wp-admin/post-new.php6.16 ▲0.2888.85 ▼3.94
Media Library /wp-admin/upload.php3.51 ▲0.2836.17 ▲4.15
Deactivate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-deactivate3.4833.37
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins3.5136.00
Activate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-activate3.4834.29

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by TIVWP-DM Development Manager
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,875 ▲14014.48 ▼0.351.91 ▼0.0440.56 ▼2.22
Dashboard /wp-admin2,256 ▲685.84 ▼0.17101.56 ▼16.7044.40 ▼4.93
Posts /wp-admin/edit.php2,147 ▲582.17 ▲0.1138.06 ▲3.4642.42 ▲6.85
Add New Post /wp-admin/post-new.php1,581 ▲6118.17 ▼4.86626.40 ▲1.9854.70 ▼1.14
Media Library /wp-admin/upload.php1,449 ▲584.28 ▲0.0798.22 ▲2.2145.48 ▲4.73
Deactivate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-deactivate1,3402.1333.5637.43
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins9982.0824.5824.58
Activate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-activate1,3292.1132.5034.05

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

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
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
Please fix the following
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/tivwp-dm-development-manager/tests/test-tivwp-dm.php:6
    • > PHP Warning
      require_once(/functions.php): failed to open stream: No such file or directory in wp-content/plugins/tivwp-dm-development-manager/tests/bootstrap.php on line 13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/tivwp-dm-development-manager/vendor/class-tgm-plugin-activation.php:161
    • > PHP Fatal error
      require_once(): Failed opening required '/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/tivwp-dm-development-manager/tests/bootstrap.php on line 13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: developer, development, debugging, tivwp, plugins...

tivwp-dm-development-manager/tivwp-dm.php 85% from 13 tests

The principal PHP file in "TIVWP-DM Development Manager" v. 14.03.25 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("tivwp-dm-development-manager.php" instead of "tivwp-dm.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

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 plugin1,566 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP84781,0501,410
Markdown125053
Bourne Shell1162352
PO File181237
XML10114

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity29.25
▷ Minimum class complexity3.00
▷ Maximum class complexity113.00
Average method complexity4.32
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods68
▷ Static methods2232.35%
▷ Public methods5479.41%
▷ Protected methods68.82%
▷ Private methods811.76%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants220.00%
▷ Class constants880.00%
▷ Public constants8100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin