84% awesome-wp-team-member

Code Review | Awesome Wp Team Member

WordPress plugin Awesome Wp Team Member scored84%from 54 tests.

About plugin

  • Plugin page: awesome-wp-team-m...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-5.7
  • WordPress version: 6.3.1
  • First release: Dec 27, 2018
  • Latest release: Jan 7, 2022
  • Number of updates: 11
  • Update frequency: every 100.7 days
  • Top authors: nayon46 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /619 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.29ms] Passed 4 tests

A check of server-side resources used by Awesome Wp Team Member
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.17 ▲3.17
Dashboard /wp-admin3.34 ▲0.0352.47 ▲0.24
Posts /wp-admin/edit.php3.39 ▲0.0350.35 ▼2.94
Add New Post /wp-admin/post-new.php5.92 ▲0.0386.95 ▼17.64
Media Library /wp-admin/upload.php3.26 ▲0.0339.55 ▲4.06
Team Members /wp-admin/edit.php?post_type=team-member3.3035.52
Add New /wp-admin/post-new.php?post_type=team-member3.3848.45

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Awesome Wp Team Member
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲3914.79 ▲0.201.83 ▼0.3354.60 ▲9.61
Dashboard /wp-admin2,222 ▲425.54 ▼0.1798.47 ▲4.7744.49 ▲5.43
Posts /wp-admin/edit.php2,127 ▲302.01 ▲0.0235.88 ▼2.4735.23 ▲3.74
Add New Post /wp-admin/post-new.php1,572 ▲2723.09 ▼0.11666.73 ▲16.1958.23 ▲7.58
Media Library /wp-admin/upload.php1,427 ▲274.19 ▼0.0298.40 ▼8.3951.27 ▲7.66
Team Members /wp-admin/edit.php?post_type=team-member1,0911.9930.8832.47
Add New /wp-admin/post-new.php?post_type=team-member2,1857.70174.9066.61

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 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/awesome-wp-team-member/awesome-wp-team-member.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: Please add images for these screenshots: #1 (This is the first screen shot), #2 (This is the second screen shot), #3 (This is the third screen shot), #4 (This is the fourth screen shot), #5 (This is the fifth screen shot)
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === awesome-wp-team-member === )
You can take inspiration from this readme.txt

awesome-wp-team-member/awesome-wp-team-member.php Passed 13 tests

The entry point to "Awesome Wp Team Member" version 1.0 is a PHP file that has certain tags in its header comment area
132 characters long description:
This plugin adds a teams section to the admin panel which allows you to showcase your employees/people on your website the easy way.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,178 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
SVG200973
CSS31611114
PHP116773
HTML20018

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin