90% wp-aritic

Code Review | WP Aritic

WordPress plugin WP Aritic scored90%from 54 tests.

About plugin

  • Plugin page: wp-aritic
  • Plugin version: 2.2.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.3.2
  • WordPress version: 6.3.1
  • First release: Aug 23, 2017
  • Latest release: Dec 24, 2019
  • Number of updates: 32
  • Update frequency: every 26.7 days
  • Top authors: premcse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,057 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼3.17ms] Passed 4 tests

Server-side resources used by WP Aritic
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0541.21 ▲2.69
Dashboard /wp-admin3.38 ▲0.0848.38 ▼5.70
Posts /wp-admin/edit.php3.50 ▲0.1448.17 ▲0.49
Add New Post /wp-admin/post-new.php5.96 ▲0.0891.05 ▼9.55
Media Library /wp-admin/upload.php3.31 ▲0.0838.93 ▲2.10
WPAritic /wp-admin/options-general.php?page=wparitic3.2736.09

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for WP Aritic
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.34 ▼0.011.73 ▼0.0243.75 ▼3.30
Dashboard /wp-admin2,199 ▲225.57 ▼0.1089.01 ▼0.7541.33 ▼2.58
Posts /wp-admin/edit.php2,107 ▲42.15 ▲0.1635.77 ▼2.1536.52 ▼0.59
Add New Post /wp-admin/post-new.php1,530 ▲223.11 ▼0.13666.18 ▼26.7449.73 ▼4.00
Media Library /wp-admin/upload.php1,404 ▲74.20 ▼0.1397.86 ▼20.5041.65 ▼8.84
WPAritic /wp-admin/options-general.php?page=wparitic9222.1622.8529.71

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: marketing, automation

wp-aritic/wparitic.php 92% from 13 tests

"WP Aritic" version 2.2.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-aritic.php" instead of "wparitic.php")

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
Good job! No executable or dangerous file extensions detected439 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP473173439

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.37
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%
Functions23
▷ Named functions23100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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