90% wp-simplepost-contributors

Code Review | WP SimplePost Contributors

WordPress plugin WP SimplePost Contributors scored90%from 54 tests.

About plugin

  • Plugin page: wp-simplepost-con...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.0.2
  • WordPress version: 6.3.1
  • First release: Jan 22, 2019
  • Latest release: Jan 22, 2019
  • Number of updates: 5
  • Update frequency: every 154.6 days
  • Top authors: ashishodich (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /527 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
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by WP SimplePost Contributors
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.70 ▼3.40
Dashboard /wp-admin3.32 ▼0.0350.66 ▼17.98
Posts /wp-admin/edit.php3.37 ▲0.0150.45 ▼11.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0284.81 ▼19.95
Media Library /wp-admin/upload.php3.24 ▲0.0136.57 ▼7.93

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by WP SimplePost Contributors
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.64 ▲0.261.72 ▼0.1347.55 ▲3.67
Dashboard /wp-admin2,203 ▲155.90 ▲0.0398.11 ▼23.4639.47 ▼6.46
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0438.17 ▲2.0135.32 ▼1.73
Add New Post /wp-admin/post-new.php6,212 ▲4,68419.06 ▼3.96909.51 ▲247.9153.67 ▼4.84
Media Library /wp-admin/upload.php1,388 ▲34.23 ▲0.0496.39 ▼5.4042.56 ▼3.25

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: post contributors, posts, contributors

wp-simplepost-contributors/wp-simplepost-contributors.php 92% from 13 tests

The main file in "WP SimplePost Contributors" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Requires at least: Required version must be the same as the one declared in readme.txt ("4.0.0" instead of "4.0")

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 plugin64 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1201864

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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 files were detected