90% summary-and-details

Code Review | Summary & Details

WordPress plugin Summary & Details scored90%from 54 tests.

About plugin

  • Plugin page: summary-and-details
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.0-5.0.3
  • WordPress version: 6.3.1
  • First release: Apr 4, 2018
  • Latest release: Feb 8, 2019
  • Number of updates: 6
  • Update frequency: every 51.7 days
  • Top authors: greatislander (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /877 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.34ms] Passed 4 tests

Server-side resources used by Summary & Details
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0145.69 ▲5.93
Dashboard /wp-admin3.31 ▲0.0152.04 ▼6.17
Posts /wp-admin/edit.php3.36 ▲0.0148.56 ▼1.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.99 ▼11.58
Media Library /wp-admin/upload.php3.23 ▲0.0140.20 ▼1.99

Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] 67% from 3 tests

Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
  • Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/summary-and-details/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Summary & Details
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.24 ▼1.415.47 ▲3.7347.28 ▲5.69
Dashboard /wp-admin2,224 ▲185.85 ▲0.97111.56 ▲3.6642.74 ▲2.77
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0133.87 ▼3.3337.02 ▼0.50
Add New Post /wp-admin/post-new.php6,364 ▲4,81927.50 ▲4.33901.70 ▲216.0582.55 ▲25.26
Media Library /wp-admin/upload.php1,400 ▼34.16 ▼0.19102.85 ▼1.2445.13 ▼0.20

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 detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

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
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

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 Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: summary, details, gutenberg

summary-and-details/summary-and-details.php Passed 13 tests

Analyzing the main PHP file in "Summary & Details" version 1.1.0
55 characters long description:
A Gutenberg block plugin which adds with an optional .

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
Success! There were no dangerous files found in this plugin7,761 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
JSON3007,052
Markdown21280567
JavaScript312876
Sass25133
PHP273725
CSS20118

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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