90% extended-evaluation-for-statify

Code Review | Statify – Extended Evaluation

WordPress plugin Statify – Extended Evaluation scored90%from 54 tests.

About plugin

  • Plugin page: extended-evaluati...
  • Plugin version: 2.6.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3
  • WordPress version: 6.3.1
  • First release: Feb 23, 2016
  • Latest release: Sep 15, 2023
  • Number of updates: 70
  • Update frequency: every 39.4 days
  • Top authors: patrickrobrecht (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

20,000+ active /96,408 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Statify – Extended Evaluation
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0048.91 ▲10.48
Dashboard /wp-admin3.31 ▲0.0045.14 ▼0.65
Posts /wp-admin/edit.php3.36 ▲0.0046.85 ▼0.59
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.90 ▼6.74
Media Library /wp-admin/upload.php3.23 ▲0.0032.28 ▼5.16

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Statify – Extended Evaluation
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.21 ▼1.095.21 ▲3.4442.73 ▲3.31
Dashboard /wp-admin2,209 ▲174.82 ▼0.13107.85 ▼4.1138.09 ▼5.37
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.1635.35 ▼4.0732.90 ▼3.06
Add New Post /wp-admin/post-new.php1,514 ▼023.61 ▲6.07645.68 ▼11.4561.92 ▲7.62
Media Library /wp-admin/upload.php1,388 ▲34.28 ▲0.0697.54 ▼3.3039.84 ▼2.92

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: statistics, privacy, stats, analytics

extended-evaluation-for-statify/extended-evaluation-for-statify.php Passed 13 tests

"Statify – Extended Evaluation" version 2.6.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
86 characters long description:
Extended evaluation for the compact, easy-to-use and privacy-compliant Statify plugin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,529 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP71113901,196
JavaScript41211262
CSS4171071

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions49
▷ Named functions49100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin