84% do-more

Code Review | Do More

WordPress plugin Do More scored84%from 54 tests.

About plugin

  • Plugin page: do-more
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-5.4
  • WordPress version: 6.3.1
  • First release: Jan 26, 2014
  • Latest release: Mar 15, 2020
  • Number of updates: 14
  • Update frequency: every 160.0 days
  • Top authors: amandato (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /2,459 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼6.06MB] [CPU: ▼1,218,568.31ms] Passed 4 tests

An overview of server-side resources used by Do More
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /27.64 ▲24.134,881,833.95 ▲4,881,787.39
Dashboard /wp-admin3.36 ▼24.2750.39 ▼4,874,246.45
Posts /wp-admin/edit.php3.41 ▲0.0150.71 ▼5.22
Add New Post /wp-admin/post-new.php5.94 ▲0.0189.60 ▼20.43
Media Library /wp-admin/upload.php3.29 ▲0.0138.79 ▼1.13

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Do More
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.44 ▼0.141.67 ▼0.3144.13 ▲0.60
Dashboard /wp-admin2,189 ▲95.48 ▼0.05105.30 ▲11.7944.45 ▲0.66
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0635.73 ▼0.6335.40 ▲1.42
Add New Post /wp-admin/post-new.php1,526 ▼023.22 ▲0.21658.84 ▼36.6755.45 ▼8.44
Media Library /wp-admin/upload.php1,400 ▲34.22 ▲0.03109.88 ▲6.0846.13 ▲1.12

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/do-more/do-more.php

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 your attention:
  • Tags: There are too many tags (11 tag instead of maximum 10)
You can take inspiration from this readme.txt

do-more/do-more.php Passed 13 tests

"Do More" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
119 characters long description:
Do more with the <!--more--> Tag. Adds the rel="nofollow" attribute to all links below the <!--more--> tag.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin59 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2202259

PHP code Passed 2 tests

An short overview of 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.29
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity1.80
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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 are no PNG files in this plugin