89% de-map

Code Review | DE Map

WordPress plugin DE Map scored89%from 54 tests.

About plugin

  • Plugin page: de-map
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 1.1.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Nov 18, 2022
  • Latest release: Nov 18, 2022
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: seosbg (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /430 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.30MB] [CPU: ▼10.38ms] Passed 4 tests

Analyzing server-side resources used by DE Map
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.3040.10 ▼0.22
Dashboard /wp-admin3.62 ▲0.2745.08 ▼19.86
Posts /wp-admin/edit.php3.67 ▲0.3146.84 ▲3.63
Add New Post /wp-admin/post-new.php6.22 ▲0.3392.02 ▼21.76
Media Library /wp-admin/upload.php3.54 ▲0.3135.30 ▲0.32

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by DE Map
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲7613.20 ▼1.211.68 ▼0.0639.86 ▼3.76
Dashboard /wp-admin2,229 ▲415.85 ▼0.0695.80 ▼13.7375.85 ▲37.04
Posts /wp-admin/edit.php2,115 ▲231.97 ▼0.0337.36 ▼4.0933.69 ▼1.54
Add New Post /wp-admin/post-new.php1,556 ▲3518.23 ▼4.79652.26 ▲43.1558.07 ▲10.04
Media Library /wp-admin/upload.php1,411 ▲264.17 ▼0.02103.73 ▲5.1564.43 ▲22.87

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Screenshots: Screenshot #1 (Admin Panel view of submitted form data.) image missing
The official readme.txt might help

de-map/de-map.php 77% from 13 tests

"DE Map" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Requires PHP: Required version must be the same as the one declared in readme.txt ("5.6" instead of "7.0")
  • Requires at least: Required version must be the same as the one declared in readme.txt ("5.5" instead of "1.1.1")
  • Description: Please keep the plugin description shorter than 140 characters (currently 282 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 plugin611 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP2348319
CSS2310211
PO File1253075
JavaScript1246

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions9
▷ Named functions9100.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
PNG images were not found in this plugin