84% vadim-evards-archive-org-post-saver

Code Review | Archivist by Vadim Evard

WordPress plugin Archivist by Vadim Evard scored84%from 54 tests.

About plugin

  • Plugin page: vadim-evards-arch...
  • Plugin version: 1.0
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.3.2
  • WordPress version: 6.3.1
  • First release: Mar 9, 2020
  • Latest release: Mar 9, 2020
  • Number of updates: 2
  • Update frequency: every 1.5 days
  • Top authors: vadimevard (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /399 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.07ms] Passed 4 tests

A check of server-side resources used by Archivist by Vadim Evard
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0046.68 ▼5.34
Dashboard /wp-admin3.31 ▼0.0453.40 ▼22.32
Posts /wp-admin/edit.php3.36 ▲0.0053.06 ▲1.30
Add New Post /wp-admin/post-new.php5.89 ▲0.00105.50 ▼9.54
Media Library /wp-admin/upload.php3.23 ▲0.0037.65 ▼3.08

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Archivist by Vadim Evard
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.25 ▼0.111.62 ▼0.1539.60 ▼3.84
Dashboard /wp-admin2,192 ▲155.55 ▼0.1099.83 ▼3.7242.39 ▼1.26
Posts /wp-admin/edit.php2,100 ▼32.07 ▲0.0639.89 ▲2.3434.23 ▼1.70
Add New Post /wp-admin/post-new.php1,526 ▼023.27 ▼0.03679.10 ▼55.4856.58 ▼1.17
Media Library /wp-admin/upload.php1,400 ▼04.19 ▲0.07105.80 ▼7.1742.53 ▼7.24

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vadim-evards-archive-org-post-saver/evard-archive-org.php:14

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: copy, backup, clone, archive

vadim-evards-archive-org-post-saver/evard-archive-org.php 92% from 13 tests

Analyzing the main PHP file in "Archivist by Vadim Evard" version 1.0
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("vadim-evards-archive-org-post-saver.php" instead of "evard-archive-org.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin7 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1287

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Constants0
▷ Global constants00.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