10% dpt-dnsmanager

Code Review | Wordpress DNS Manager by DigitialPixies

WordPress plugin Wordpress DNS Manager by DigitialPixies scored10%from 54 tests.

About plugin

  • Plugin page: dpt-dnsmanager
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-4.8.0
  • WordPress version: 6.3.1
  • First release: May 1, 2016
  • Latest release: Jun 12, 2017
  • Number of updates: 5
  • Update frequency: every 111.8 days
  • Top authors: digitalpixies (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /3,879 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
  • The plugin did not install without errors
    • > Deprecated in wp-content/plugins/dpt-dnsmanager/dpt-dnsmanager.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; dpt_dnsmanager_php has a deprecated constructor

Server metrics [RAM: ▼1.81MB] [CPU: ▼52.40ms] Passed 4 tests

Server-side resources used by Wordpress DNS Manager by DigitialPixies
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.18 ▼1.285.25 ▼35.93
Dashboard /wp-admin2.20 ▼1.117.40 ▼41.28
Posts /wp-admin/edit.php2.20 ▼1.165.75 ▼45.64
Add New Post /wp-admin/post-new.php2.20 ▼3.695.88 ▼86.75
Media Library /wp-admin/upload.php2.20 ▼1.036.04 ▼29.91

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Wordpress DNS Manager by DigitialPixies
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲8113.28 ▼1.101.92 ▼0.0743.14 ▼4.28
Dashboard /wp-admin2,225 ▲435.85 ▼0.01100.49 ▼6.8738.80 ▼5.04
Posts /wp-admin/edit.php2,108 ▲191.99 ▲0.0039.55 ▲0.1235.51 ▲0.68
Add New Post /wp-admin/post-new.php1,546 ▲3223.44 ▲5.98633.00 ▼59.5454.94 ▼22.65
Media Library /wp-admin/upload.php1,407 ▲194.19 ▼0.0196.94 ▼2.7042.57 ▼4.31

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/dpt-dnsmanager/dpt-dnsmanager.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; dpt_dnsmanager_php has a deprecated constructor
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dpt-dnsmanager/dpt-dnsmanager.php:55

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === dpt-dnsmanager === )
The official readme.txt might help

dpt-dnsmanager/dpt-dnsmanager.php Passed 13 tests

The entry point to "Wordpress DNS Manager by DigitialPixies" version 1.2.1 is a PHP file that has certain tags in its header comment area
108 characters long description:
Create and Manage a bind compatible dns file. Designed for intranet wordpress instances (not public facing).

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin10,179 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
CSS32137,142
JavaScript46114681,898
PHP21647548
HTML1127296
SVG100288
LESS2107

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity45.50
▷ Minimum class complexity38.00
▷ Maximum class complexity53.00
Average method complexity4.18
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods28
▷ Static methods27.14%
▷ Public methods2485.71%
▷ Protected methods13.57%
▷ Private methods310.71%
Functions0
▷ Named functions00.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 were not PNG files found in your plugin