90% see-more-themes

Code Review | See More Themes

WordPress plugin See More Themes scored90%from 54 tests.

About plugin

  • Plugin page: see-more-themes
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.3
  • WordPress version: 6.3.1
  • First release: Apr 24, 2014
  • Latest release: Mar 29, 2020
  • Number of updates: 28
  • Update frequency: every 77.4 days
  • Top authors: sdavis2702 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,226 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.00MB] [CPU: ▼10.90ms] Passed 4 tests

A check of server-side resources used by See More Themes
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.38 ▼4.84
Dashboard /wp-admin3.31 ▼0.0343.30 ▼22.15
Posts /wp-admin/edit.php3.37 ▲0.0144.17 ▼4.25
Add New Post /wp-admin/post-new.php5.90 ▲0.0188.20 ▼12.35
Media Library /wp-admin/upload.php3.24 ▲0.0033.32 ▲1.20

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for See More Themes
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.70 ▼0.684.33 ▲2.4339.82 ▼3.19
Dashboard /wp-admin2,203 ▲154.87 ▼1.01110.04 ▲9.5241.64 ▲1.73
Posts /wp-admin/edit.php2,092 ▲32.05 ▲0.0039.80 ▲4.2535.91 ▲3.12
Add New Post /wp-admin/post-new.php1,528 ▲918.01 ▼5.24600.09 ▼75.3965.54 ▲8.35
Media Library /wp-admin/upload.php1,385 ▼34.18 ▼0.0894.05 ▼1.3141.54 ▼1.49

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Looking good! No server-side errors or output 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 on the user side

Optimizations

Plugin configuration 96% 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
5 plugin tags: themes, preview, sdavis2702, customize, install

see-more-themes/see-more-themes.php 92% from 13 tests

"See More Themes" version 1.0.1'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:
  • Description: The description should be shorter than 140 characters (currently 161 characters long)

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
Good job! No executable or dangerous file extensions detected133 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS120106
PHP122514
Markdown18013

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.75
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin