84% without-update-themes

Code Review | Without Update Themes

WordPress plugin Without Update Themes scored84%from 54 tests.

About plugin

  • Plugin page: without-update-th...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6
  • WordPress version: 6.3.1
  • First release: Oct 8, 2015
  • Latest release: Aug 13, 2016
  • Number of updates: 4
  • Update frequency: every 77.3 days
  • Top authors: 8suzuran8 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /832 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.03MB] [CPU: ▲1.25ms] Passed 4 tests

An overview of server-side resources used by Without Update Themes
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.70 ▲1.44
Dashboard /wp-admin3.34 ▲0.0445.91 ▲1.08
Posts /wp-admin/edit.php3.39 ▲0.0450.33 ▲2.21
Add New Post /wp-admin/post-new.php5.92 ▲0.0493.66 ▲2.20
Media Library /wp-admin/upload.php3.27 ▲0.0434.71 ▲0.27
Without Update Themes 設定 /wp-admin/plugins.php?page=without-update-themes-setting-admin3.2331.22

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Without Update Themes
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.30 ▼1.461.63 ▲0.0442.41 ▼3.40
Dashboard /wp-admin2,210 ▲224.84 ▼0.07105.68 ▼1.4745.50 ▲4.61
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0442.00 ▲7.0641.06 ▲7.69
Add New Post /wp-admin/post-new.php1,541 ▲2223.15 ▲0.23608.91 ▼4.5657.52 ▲4.92
Media Library /wp-admin/upload.php1,386 ▲14.17 ▼0.0295.08 ▼3.7246.35 ▲1.86
Without Update Themes 設定 /wp-admin/plugins.php?page=without-update-themes-setting-admin7982.0623.2549.60

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% 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
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/without-update-themes/without-update-themes.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Donate link: Please fix this invalid url: ""
You can take inspiration from this readme.txt

without-update-themes/without-update-themes.php Passed 13 tests

The entry point to "Without Update Themes" version 1.0.2 is a PHP file that has certain tags in its header comment area
38 characters long description:
This plugin does not update the theme.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin85 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1171485

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions7
▷ Named functions7100.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
There are no PNG files in this plugin