84% atheist-quotes

Code Review | '83 Atheist Quotes

WordPress plugin '83 Atheist Quotes scored84%from 54 tests.

About plugin

  • Plugin page: atheist-quotes
  • Plugin version: 1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6-3.3.2
  • WordPress version: 6.3.1
  • First release: May 12, 2012
  • Latest release: May 21, 2012
  • Number of updates: 11
  • Update frequency: every 5.7 days
  • Top authors: Since83.Com (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,159 total downloads


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.02MB] [CPU: ▼4.19ms] Passed 4 tests

An overview of server-side resources used by '83 Atheist Quotes
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.67 ▼1.34
Dashboard /wp-admin3.32 ▲0.0250.18 ▲1.05
Posts /wp-admin/edit.php3.37 ▲0.0248.35 ▼2.23
Add New Post /wp-admin/post-new.php5.90 ▲0.0281.90 ▼14.25
Media Library /wp-admin/upload.php3.24 ▲0.0239.03 ▲3.07

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for '83 Atheist Quotes
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,866 ▲8014.36 ▲0.011.65 ▼0.3641.18 ▼8.90
Dashboard /wp-admin2,269 ▲925.54 ▲0.0189.27 ▼10.6343.02 ▼1.22
Posts /wp-admin/edit.php2,103 ▼01.98 ▼0.0338.11 ▲2.7636.94 ▲4.00
Add New Post /wp-admin/post-new.php1,529 ▼223.13 ▼0.05684.24 ▲17.7351.86 ▼5.09
Media Library /wp-admin/upload.php1,397 ▼34.25 ▲0.12112.08 ▼5.7548.90 ▲2.03

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-comments
    • widget_recent-posts

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/atheist-quotes/atheist-quotes.php:54

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === atheist-quotes === )
Please take inspiration from this readme.txt

atheist-quotes/atheist-quotes.php Passed 13 tests

"'83 Atheist Quotes" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
76 characters long description:
This plugin puts some great quotes by Atheist on the top of your admin panel

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin88 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
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 functions7100.00%
▷ Anonymous functions00.00%
▷ 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
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
banner-772x250.png86.01KB34.89KB▼ 59.44%