84% tamed-admin-theme

Code Review | Tamed Admin Theme

WordPress plugin Tamed Admin Theme scored84%from 54 tests.

About plugin

  • Plugin page: tamed-admin-theme
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.2.2
  • WordPress version: 6.3.1
  • First release: Apr 22, 2015
  • Latest release: Jan 8, 2016
  • Number of updates: 41
  • Update frequency: every 6.4 days
  • Top authors: lucawater (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /6,123 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Server-side resources used by Tamed Admin Theme
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0149.97 ▲7.62
Dashboard /wp-admin3.31 ▲0.0143.81 ▼6.88
Posts /wp-admin/edit.php3.36 ▲0.0048.03 ▼0.26
Add New Post /wp-admin/post-new.php5.89 ▲0.0097.99 ▲1.23
Media Library /wp-admin/upload.php3.23 ▲0.0035.04 ▲1.57

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Tamed Admin Theme
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9413.57 ▼1.045.73 ▲3.8531.47 ▼16.62
Dashboard /wp-admin2,208 ▲234.86 ▼1.05112.16 ▲10.8445.41 ▲1.34
Posts /wp-admin/edit.php2,091 ▲22.05 ▲0.0441.11 ▲1.7137.83 ▲2.29
Add New Post /wp-admin/post-new.php1,530 ▼423.12 ▼0.03634.36 ▼22.2953.98 ▼5.37
Media Library /wp-admin/upload.php1,390 ▲54.21 ▲0.0198.12 ▼0.5845.60 ▲0.73

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following items
  • 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/tamed-admin-theme/tamed-admin-theme.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: backend theme, custom admin, custom admin theme, clean, minimalistic...

tamed-admin-theme/tamed-admin-theme.php Passed 13 tests

The principal PHP file in "Tamed Admin Theme" v. 1.0.1 is loaded by WordPress automatically on each request
36 characters long description:
A basic, clean Wordpress admin theme

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 plugin698 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.27MB with 0.20MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-2.png80.16KB20.47KB▼ 74.46%
assets/screenshot-1.png91.22KB24.71KB▼ 72.91%
assets/screenshot-3.png104.40KB28.70KB▼ 72.51%