78% wp01

Code Review | WP01 - Speed, Security, SEO consultant

WordPress plugin WP01 - Speed, Security, SEO consultant scored78%from 54 tests.

About plugin

  • Plugin page: wp01
  • Plugin version: 2.6.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Oct 29, 2019
  • Latest release: Nov 24, 2022
  • Number of updates: 52
  • Update frequency: every 21.6 days
  • Top authors: wp01ru (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

100+ active /2,673 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼0.28ms] Passed 4 tests

A check of server-side resources used by WP01 - Speed, Security, SEO consultant
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0633.97 ▼2.68
Dashboard /wp-admin3.37 ▲0.0649.86 ▼1.18
Posts /wp-admin/edit.php3.42 ▲0.0648.76 ▲1.26
Add New Post /wp-admin/post-new.php5.95 ▲0.0686.77 ▲1.47
Media Library /wp-admin/upload.php3.29 ▲0.0636.69 ▲2.80

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 334 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for WP01 - Speed, Security, SEO consultant
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.35 ▼0.241.67 ▼0.1539.47 ▼1.95
Dashboard /wp-admin2,211 ▲345.63 ▼0.0491.25 ▲5.4337.59 ▼5.09
Posts /wp-admin/edit.php2,116 ▲161.97 ▼0.0139.44 ▼1.0235.77 ▼0.20
Add New Post /wp-admin/post-new.php1,539 ▲1123.11 ▼0.04677.31 ▲46.9552.26 ▼14.75
Media Library /wp-admin/upload.php1,416 ▲164.18 ▼0.0294.32 ▼0.5247.07 ▲3.76

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% 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 0% from 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
Please fix the following items
  • 24× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
    • > /wp-content/plugins/wp01/content/en/head.php
    • > /wp-content/plugins/wp01/inc/class-wp01-table.php
    • > /wp-content/plugins/wp01/content/en/step-1.php
    • > /wp-content/plugins/wp01/inc/class-wp01-content.php
    • > /wp-content/plugins/wp01/content/ru/step-6.php
    • > /wp-content/plugins/wp01/content/ru/step-7.php
    • > /wp-content/plugins/wp01/content/ru/head.php
    • > /wp-content/plugins/wp01/content/ru/step-4.php
    • > /wp-content/plugins/wp01/content/ru/step-1.php
    • > /wp-content/plugins/wp01/content/en/step-2.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp01/content/admin-page-nav.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: wordpress speed optimization, speed, performance optimization, pagespeed, seo...

wp01/wp01.php 85% from 13 tests

Analyzing the main PHP file in "WP01 - Speed, Security, SEO consultant" version 2.6.2
It is important to fix the following:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Description: The description should be shorter than 140 characters (currently 150 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected11,766 lines of code in 32 files:
LanguageFilesBlank linesComment linesLines of code
PHP2660769110,164
Sass1490531
CSS15432476
JavaScript29720314
PO File292108281

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity20.75
▷ Minimum class complexity4.00
▷ Maximum class complexity38.00
Average method complexity2.68
▷ Minimum method complexity1.00
▷ Maximum method complexity32.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods47
▷ Static methods47100.00%
▷ Public methods47100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
134 compressed PNG files occupy 3.07MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/sypexdumper/4.png23.50KB23.83KB0.00%
assets/img/backupwordpress/3.png23.92KB24.01KB0.00%
assets/img/cpanel3/2.png18.99KB19.00KB0.00%
assets/img/cpanel/3.png27.04KB27.14KB0.00%
assets/img/cpanel/10.png13.77KB13.78KB0.00%